Files
termux-packages/packages/anacron/runjob.c.patch
termux-actions[bot] 1367e5be14 packages/anacron
2022-03-31 16:58:38 +00:00

12 lines
351 B
Diff

--- a/runjob.c
+++ b/runjob.c
@@ -122,7 +122,7 @@
if (sigprocmask(SIG_SETMASK, &old_sigmask, NULL))
die_e("sigprocmask error");
xcloselog();
- execl("/bin/sh", "/bin/sh", "-c", jr->command, (char *)NULL);
+ execl("@TERMUX_PREFIX@/bin/sh", "@TERMUX_PREFIX@/bin/sh", "-c", jr->command, (char *)NULL);
die_e("execl() error");
}