diff options
author | Rob Landley <rob@landley.net> | 2006-05-21 18:28:13 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-05-21 18:28:13 +0000 |
commit | c020f5f518714af603488c7d9e6cc72543fabc49 (patch) | |
tree | 1030744a4f3b96c0d3d7498e65635f8ecc898f45 /miscutils/crond.c | |
parent | 4148afe04975c6003bde330db2b074d49f25f5d3 (diff) | |
download | busybox-w32-c020f5f518714af603488c7d9e6cc72543fabc49.tar.gz busybox-w32-c020f5f518714af603488c7d9e6cc72543fabc49.tar.bz2 busybox-w32-c020f5f518714af603488c7d9e6cc72543fabc49.zip |
New version of nohup that's much smaller, less paranoid, consistent,
vaguely portable, and licensed GPLv2 "or later".
Diffstat (limited to 'miscutils/crond.c')
-rw-r--r-- | miscutils/crond.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c index 9b194d13a..030e962f3 100644 --- a/miscutils/crond.c +++ b/miscutils/crond.c | |||
@@ -283,21 +283,6 @@ int crond_main(int ac, char **av) | |||
283 | bb_fflush_stdout_and_exit(EXIT_SUCCESS); /* not reached */ | 283 | bb_fflush_stdout_and_exit(EXIT_SUCCESS); /* not reached */ |
284 | } | 284 | } |
285 | 285 | ||
286 | #if ENABLE_DEBUG_CROND_OPTION || ENABLE_FEATURE_CROND_CALL_SENDMAIL | ||
287 | /* | ||
288 | write to temp file.. | ||
289 | */ | ||
290 | static void fdprintf(int fd, const char *ctl, ...) | ||
291 | { | ||
292 | va_list va; | ||
293 | |||
294 | va_start(va, ctl); | ||
295 | vdprintf(fd, ctl, va); | ||
296 | va_end(va); | ||
297 | } | ||
298 | #endif | ||
299 | |||
300 | |||
301 | static int ChangeUser(const char *user) | 286 | static int ChangeUser(const char *user) |
302 | { | 287 | { |
303 | struct passwd *pas; | 288 | struct passwd *pas; |