- s/defined(__uClinux__)/BB_NOMMU/

This needs a second pass to:
+ add bb_daemon(unsigned char no_chdir, unsigned char no_close, const char*flag)
+ eventually globally export argc and argv, so we don't need to pass it to
  bb_daemon().
This commit is contained in:
Bernhard Reutner-Fischer committed 2006-05-31 10:19:51 +00:00
1 parent 507cd755a4
commit c418d482ba
7 files changed
+19 -19

No files matched your search

+3 -3
View File
@@ -205,12 +205,12 @@ int crond_main(int ac, char **av)
*/
if (!(opt & 4)) {
#if defined(__uClinux__)
#ifdef BB_NOMMU
/* reexec for vfork() do continue parent */
vfork_daemon_rexec(1, 0, ac, av, "-f");
#else /* uClinux */
#else
bb_xdaemon(1, 0);
#endif /* uClinux */
#endif
}
(void) startlogger(); /* need if syslog mode selected */