Fixup bugs in last patch

This commit is contained in:
Eric Andersen
2003-07-28 09:31:28 +00:00
parent f3a02bbf41
commit 68d4a85f12
3 changed files with 4 additions and 4 deletions

View File

@ -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");
}