aboutsummaryrefslogtreecommitdiff
path: root/miscutils/crond.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/crond.c')
-rw-r--r--miscutils/crond.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c
index b533a3991..2e8ca8b68 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -731,7 +731,7 @@ fork_job(const char *user, int mailFd, CronLine *line, bool run_sendmail)
731 logmode = sv_logmode; 731 logmode = sv_logmode;
732 732
733 if (pid < 0) { 733 if (pid < 0) {
734 bb_perror_msg("vfork"); 734 bb_simple_perror_msg("vfork");
735 err: 735 err:
736 pid = 0; 736 pid = 0;
737 } /* else: PARENT, FORK SUCCESS */ 737 } /* else: PARENT, FORK SUCCESS */
@@ -861,7 +861,7 @@ static pid_t start_one_job(const char *user, CronLine *line)
861 bb_error_msg_and_die("can't execute '%s' for user %s", shell, user); 861 bb_error_msg_and_die("can't execute '%s' for user %s", shell, user);
862 } 862 }
863 if (pid < 0) { 863 if (pid < 0) {
864 bb_perror_msg("vfork"); 864 bb_simple_perror_msg("vfork");
865 err: 865 err:
866 pid = 0; 866 pid = 0;
867 } 867 }