From f7d27ae3608b7018f3c008890dd92d0b15ff97fd Mon Sep 17 00:00:00 2001 From: Dongsheng Song Date: Sun, 17 Feb 2019 00:16:54 +0800 Subject: [PATCH] Remove dead code --- su-exec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/su-exec.c b/su-exec.c index 7abc00a..ef15034 100644 --- a/su-exec.c +++ b/su-exec.c @@ -76,8 +76,6 @@ int main(int argc, char *argv[]) gid_t ngid = strtol(group, &end, 10); if (*end == '\0') { gr = getgrgid(ngid); - if (gr == NULL) - gid = ngid; } } if (gr != NULL)