diff options
author | Bernhard Reutner-Fischer | 2008-05-19 09:29:47 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2008-05-19 09:29:47 +0000 |
commit | 636a1f85e89432601c59cdc3239fc867b4adf051 (patch) | |
tree | d43c9ca120c29bf2d4567b1bb0674c6a8bae2b6d /miscutils/crond.c | |
parent | cb83abd7b6b052224c1f3b998e863aac76914afd (diff) | |
download | busybox-636a1f85e89432601c59cdc3239fc867b4adf051.zip busybox-636a1f85e89432601c59cdc3239fc867b4adf051.tar.gz |
- use EXIT_{SUCCESS,FAILURE}. No object-code changes
Diffstat (limited to 'miscutils/crond.c')
-rw-r--r-- | miscutils/crond.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c index 6db4df4..2bed5a4 100644 --- a/miscutils/crond.c +++ b/miscutils/crond.c @@ -797,7 +797,7 @@ ForkJob(const char *user, CronLine *line, int mailFd, if (mail_filename) { fdprintf(1, "Exec failed: %s -c %s\n", prog, arg); } - _exit(0); + _exit(EXIT_SUCCESS); } line->cl_Pid = pid; @@ -930,7 +930,7 @@ static void RunJob(const char *user, CronLine *line) execl(DEFAULT_SHELL, DEFAULT_SHELL, "-c", line->cl_Shell, NULL); crondlog(ERR20 "can't exec, user %s cmd %s %s %s", user, DEFAULT_SHELL, "-c", line->cl_Shell); - _exit(0); + _exit(EXIT_SUCCESS); } if (pid < 0) { /* FORK FAILED */ |