aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/fakeidentd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/networking/fakeidentd.c b/networking/fakeidentd.c
index 3d714fd7e..40d5cf1b7 100644
--- a/networking/fakeidentd.c
+++ b/networking/fakeidentd.c
@@ -184,9 +184,7 @@ static int godaemon(void)
close(0);
inetbind();
if (setgid(nogrp)) bb_error_msg_and_die("Could not setgid()");
- if (setegid(nogrp)) bb_error_msg_and_die("Could not setegid()");
if (setuid(nobody)) bb_error_msg_and_die("Could not setuid()");
- if (seteuid(nobody)) bb_error_msg_and_die("Could not seteuid()");
close(1);
close(2);