From 54232d544ca0f0b8157d36e63607a3ef186ae0de Mon Sep 17 00:00:00 2001 From: andersen Date: Mon, 28 Jul 2003 09:31:28 +0000 Subject: Fixup bugs in last patch git-svn-id: svn://busybox.net/trunk/busybox@7122 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- miscutils/crond.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'miscutils/crond.c') 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"); } -- cgit v1.2.3-55-g6feb