diff options
Diffstat (limited to 'networking')
-rw-r--r-- | networking/inetd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/inetd.c b/networking/inetd.c index af262c39c..4c46495a6 100644 --- a/networking/inetd.c +++ b/networking/inetd.c @@ -832,13 +832,13 @@ inetd_main(int argc, char *argv[]) #if defined(__uClinux__) opt = bb_getopt_ulflags(argc, argv, "q:f", &sq); - if (!(opt & 4)) { + if (!(opt & 2)) { daemon(0, 0); /* reexec for vfork() do continue parent */ vfork_daemon_rexec(argc, argv, "-f"); } #else - opt = bb_getopt_ulflags(ac, av, "q:", &sq); + opt = bb_getopt_ulflags(argc, argv, "q:", &sq); daemon(0, 0); #endif /* uClinux */ |