- 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:
@ -22,7 +22,7 @@
|
||||
#include "libbb.h"
|
||||
|
||||
|
||||
#if defined(__uClinux__)
|
||||
#ifdef BB_NOMMU
|
||||
void vfork_daemon_rexec(int nochdir, int noclose,
|
||||
int argc, char **argv, char *foreground_opt)
|
||||
{
|
||||
@ -64,4 +64,4 @@ void vfork_daemon_rexec(int nochdir, int noclose,
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
#endif /* uClinux */
|
||||
#endif /* BB_NOMMU */
|
||||
|
Reference in New Issue
Block a user