diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-21 18:28:13 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-21 18:28:13 +0000 |
commit | 2cf3fce2b8fbc52ee550cebf6363a737950703a0 (patch) | |
tree | 1030744a4f3b96c0d3d7498e65635f8ecc898f45 /miscutils/crond.c | |
parent | 65080523418d903db8dc64adc60b8b4cbceb3061 (diff) | |
download | busybox-w32-2cf3fce2b8fbc52ee550cebf6363a737950703a0.tar.gz busybox-w32-2cf3fce2b8fbc52ee550cebf6363a737950703a0.tar.bz2 busybox-w32-2cf3fce2b8fbc52ee550cebf6363a737950703a0.zip |
New version of nohup that's much smaller, less paranoid, consistent,
vaguely portable, and licensed GPLv2 "or later".
git-svn-id: svn://busybox.net/trunk/busybox@15155 69ca8d6d-28ef-0310-b511-8ec308f3f277
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; |