summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/db/sysdb_sudo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/sysdb_sudo.c b/src/db/sysdb_sudo.c
index f579ba8b..8f396ef5 100644
--- a/src/db/sysdb_sudo.c
+++ b/src/db/sysdb_sudo.c
@@ -336,7 +336,7 @@ sysdb_get_sudo_user_info(TALLOC_CTX *mem_ctx, const char *username,
*groupnames = talloc_steal(mem_ctx, sysdb_groupnames);
done:
talloc_free(tmp_ctx);
- return EOK;
+ return ret;
}
errno_t