summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorEric Andersen2003-07-28 09:31:28 +0000
committerEric Andersen2003-07-28 09:31:28 +0000
commit68d4a85f129f029ff7c42a65ca723444384f7357 (patch)
tree01659700e2ca857431eb9ffaab9ec0655295b2b9 /networking
parentf3a02bbf41432488bae8e2a17a9a1f361e428b6b (diff)
downloadbusybox-68d4a85f129f029ff7c42a65ca723444384f7357.zip
busybox-68d4a85f129f029ff7c42a65ca723444384f7357.tar.gz
Fixup bugs in last patch
Diffstat (limited to 'networking')
-rw-r--r--networking/inetd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/inetd.c b/networking/inetd.c
index af262c3..4c46495 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 */