Signed-off-by: Nadav Tasher <[email protected]>
---
miscutils/crond.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/miscutils/crond.c b/miscutils/crond.c
index b3762d327..efb420767 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -726,9 +726,9 @@ fork_job(const char *user, int mailFd, CronLine *line, bool
run_sendmail)
/* crond 3.0pl1-100 puts tasks in separate process groups */
bb_setpgrp();
if (!run_sendmail)
- execlp(prog, prog, "-c", line->cl_cmd, (char *) NULL);
+ BB_EXECLP(prog, prog, "-c", line->cl_cmd, (char *)
NULL);
else
- execlp(prog, prog, SENDMAIL_ARGS, (char *) NULL);
+ BB_EXECLP(prog, prog, SENDMAIL_ARGS, (char *) NULL);
/*
* I want this error message on stderr too,
* even if other messages go only to syslog:
--
2.34.1
_______________________________________________
busybox mailing list
[email protected]
https://lists.busybox.net/mailman/listinfo/busybox