oops
authorMark Spencer <markster@digium.com>
Sat, 7 Jan 2006 20:09:26 +0000 (20:09 +0000)
committerMark Spencer <markster@digium.com>
Sat, 7 Jan 2006 20:09:26 +0000 (20:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7859 65c4cc65-6c06-0410-ace0-fbb531ad65f3

asterisk.c

index da156ef..21136dd 100644 (file)
@@ -2171,7 +2171,7 @@ int main(int argc, char *argv[])
                        ast_log(LOG_WARNING, "No such user '%s'!\n", runuser);
                        exit(1);
                }
-               if (!ast_strlen_zero(rungroup))
+               if (!ast_strlen_zero(rungroup)) {
                        if (initgroups(pw->pw_name, pw->pw_gid)) {
                                ast_log(LOG_WARNING, "Unable to init groups for '%s'\n", runuser);
                                exit(1);