From 68d4a85f129f029ff7c42a65ca723444384f7357 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 28 Jul 2003 09:31:28 +0000 Subject: Fixup bugs in last patch --- miscutils/crond.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'miscutils') diff --git a/miscutils/crond.c b/miscutils/crond.c index 198bc2d..b139593 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"); } -- cgit v1.1