small NOMMU fixes

This commit is contained in:
Denis Vlasenko
2008-03-20 14:04:30 +00:00
parent 3c96d0258c
commit c52248e41c
3 changed files with 12 additions and 11 deletions

View File

@ -175,7 +175,7 @@ int crond_main(int argc ATTRIBUTE_UNUSED, char **argv)
if (!(opt & OPT_f)) {
/* close stdin, stdout, stderr.
* close unused descriptors - don't need them. */
bb_daemonize_or_rexec(DAEMON_CLOSE_EXTRA_FDS, av);
bb_daemonize_or_rexec(DAEMON_CLOSE_EXTRA_FDS, argv);
}
if (!DebugOpt && LogFile == NULL) {