summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author刘文坛 <[email protected]>2023-12-04 11:19:44 +0000
committer刘文坛 <[email protected]>2023-12-04 11:19:44 +0000
commitf48afd54f61109f5a14016abf765eb873d70734d (patch)
treef7be677fe87675230d7334057ef5584ac8b8660e
parentc6346a73b0fbd3c7efcbe27bfa50958e14ebbfe3 (diff)
[PATCH]bugfix for compile configv4.1.16
-rw-r--r--src/maat_compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/maat_compile.c b/src/maat_compile.c
index 8e8961d..0afc40f 100644
--- a/src/maat_compile.c
+++ b/src/maat_compile.c
@@ -1305,7 +1305,7 @@ static int maat_add_group_to_compile(struct rcu_hash_table *hash_tbl,
struct group2compile_item *g2c_item,
struct log_handle *logger)
{
- int ret = -1;
+ int ret = 0;
long long compile_id = g2c_item->compile_id;
struct maat_compile *compile = NULL;
@@ -1377,7 +1377,7 @@ static int maat_remove_group_from_compile(struct rcu_hash_table *hash_tbl,
struct group2compile_item *g2c_item,
struct log_handle *logger)
{
- int ret = -1;
+ int ret = 0;
long long compile_id = g2c_item->compile_id;
struct maat_compile *compile = NULL;