summaryrefslogtreecommitdiff
path: root/miscutils/crond.c
diff options
context:
space:
mode:
authorRob Landley2006-05-21 18:28:13 +0000
committerRob Landley2006-05-21 18:28:13 +0000
commitc020f5f518714af603488c7d9e6cc72543fabc49 (patch)
tree1030744a4f3b96c0d3d7498e65635f8ecc898f45 /miscutils/crond.c
parent4148afe04975c6003bde330db2b074d49f25f5d3 (diff)
downloadbusybox-c020f5f518714af603488c7d9e6cc72543fabc49.zip
busybox-c020f5f518714af603488c7d9e6cc72543fabc49.tar.gz
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.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c
index 9b194d1..030e962 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -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;