diff options
Diffstat (limited to 'networking/fakeidentd.c')
-rw-r--r-- | networking/fakeidentd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/fakeidentd.c b/networking/fakeidentd.c index b5b70f516..9cdbc5725 100644 --- a/networking/fakeidentd.c +++ b/networking/fakeidentd.c | |||
@@ -159,8 +159,8 @@ static int godaemon(void) | |||
159 | 159 | ||
160 | close(0); | 160 | close(0); |
161 | inetbind(); | 161 | inetbind(); |
162 | if (setgid(nogrp)) bb_error_msg_and_die("Could not setgid()"); | 162 | xsetgid(nogrp); |
163 | if (setuid(nobody)) bb_error_msg_and_die("Could not setuid()"); | 163 | xsetuid(nobody); |
164 | close(1); | 164 | close(1); |
165 | close(2); | 165 | close(2); |
166 | 166 | ||