New version of nohup that's much smaller, less paranoid, consistent,

vaguely portable, and licensed GPLv2 "or later".
This commit is contained in:
Rob Landley
2006-05-21 18:28:13 +00:00
parent 4148afe049
commit c020f5f518
3 changed files with 38 additions and 181 deletions

View File

@@ -283,21 +283,6 @@ int crond_main(int ac, char **av)
bb_fflush_stdout_and_exit(EXIT_SUCCESS); /* not reached */
}
#if ENABLE_DEBUG_CROND_OPTION || ENABLE_FEATURE_CROND_CALL_SENDMAIL
/*
write to temp file..
*/
static void fdprintf(int fd, const char *ctl, ...)
{
va_list va;
va_start(va, ctl);
vdprintf(fd, ctl, va);
va_end(va);
}
#endif
static int ChangeUser(const char *user)
{
struct passwd *pas;