aboutsummaryrefslogtreecommitdiff
path: root/miscutils/crond.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-07-28 09:31:28 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-07-28 09:31:28 +0000
commit54232d544ca0f0b8157d36e63607a3ef186ae0de (patch)
tree01659700e2ca857431eb9ffaab9ec0655295b2b9 /miscutils/crond.c
parent77b613bc010f365ba8bacd7c9e3b432535e61374 (diff)
downloadbusybox-w32-54232d544ca0f0b8157d36e63607a3ef186ae0de.tar.gz
busybox-w32-54232d544ca0f0b8157d36e63607a3ef186ae0de.tar.bz2
busybox-w32-54232d544ca0f0b8157d36e63607a3ef186ae0de.zip
Fixup bugs in last patch
git-svn-id: svn://busybox.net/trunk/busybox@7122 69ca8d6d-28ef-0310-b511-8ec308f3f277
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)
203 if (!(opt & 4)) { 203 if (!(opt & 4)) {
204 if(daemon(1, 0) < 0) { 204 if(daemon(1, 0) < 0) {
205 bb_perror_msg_and_die("daemon"); 205 bb_perror_msg_and_die("daemon");
206 }
206#if defined(__uClinux__) 207#if defined(__uClinux__)
207 } else { 208 else {
208 /* reexec for vfork() do continue parent */ 209 /* reexec for vfork() do continue parent */
209 vfork_daemon_rexec(ac, av, "-f"); 210 vfork_daemon_rexec(ac, av, "-f");
210 } 211 }