summaryrefslogtreecommitdiff
path: root/src/chkshsgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chkshsgr.c')
-rw-r--r--src/chkshsgr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/chkshsgr.c b/src/chkshsgr.c
index fc752bd..a98089b 100644
--- a/src/chkshsgr.c
+++ b/src/chkshsgr.c
@@ -1,6 +1,7 @@
#include <grp.h>
#include <sys/types.h>
#include <unistd.h>
+
#include "exit.h"
int main()
@@ -8,6 +9,7 @@ int main()
short x[4];
x[0] = x[1] = 0;
- if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
+ if (getgroups(1, x) == 0)
+ if (setgroups(1, x) == -1) _exit(1);
_exit(0);
}