From 47dbb1da7e883528614a7cc417661517c8df6217 Mon Sep 17 00:00:00 2001 From: Moe-hacker Date: Thu, 28 Nov 2024 07:46:58 +0000 Subject: [PATCH] Fix passwd.c --- src/passwd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/passwd.c b/src/passwd.c index 8693b7b..dea5cdc 100644 --- a/src/passwd.c +++ b/src/passwd.c @@ -468,6 +468,7 @@ static gid_t line_get_group_gid(const char *p) } ret = ret * 10 + (gid_t)(p[i] - '0'); } + return ret; } static bool groups_line_have_user(const char *p, const char *username) {