aboutsummaryrefslogtreecommitdiff
path: root/miscutils/crond.c
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2003-07-28 09:31:28 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2003-07-28 09:31:28 +0000
commit68d4a85f129f029ff7c42a65ca723444384f7357 (patch)
tree01659700e2ca857431eb9ffaab9ec0655295b2b9 /miscutils/crond.c
parentf3a02bbf41432488bae8e2a17a9a1f361e428b6b (diff)
downloadbusybox-68d4a85f129f029ff7c42a65ca723444384f7357.tar.gz
busybox-68d4a85f129f029ff7c42a65ca723444384f7357.tar.bz2
Fixup bugs in last patch
Diffstat (limited to 'miscutils/crond.c')
-rw-r--r--miscutils/crond.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c
index 198bc2d85..b13959368 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -203,8 +203,9 @@ crond_main(int ac, char **av)
if (!(opt & 4)) {
if(daemon(1, 0) < 0) {
bb_perror_msg_and_die("daemon");
+ }
#if defined(__uClinux__)
- } else {
+ else {
/* reexec for vfork() do continue parent */
vfork_daemon_rexec(ac, av, "-f");
}