diff --git a/asterisk.c b/asterisk.c
index da156efd56815082cc7b5c6eecd41c9aa2a8a3a8..21136ddb52719f3011c7395883c0f9b84e26b337 100644
--- a/asterisk.c
+++ b/asterisk.c
@@ -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);