summaryrefslogtreecommitdiff
path: root/src/chkshsgr.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-03 15:52:39 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-03 15:52:39 +0200
commita6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f (patch)
treeb88cc7a8457658d67e0321718556ac807f6bccf3 /src/chkshsgr.c
parent00be7622c428f279872f84569f098ce16150f8a8 (diff)
format files
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);
}