mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-21 20:56:19 +00:00
e17ba66e5c
Anacron has received no development in 15+ years. It's functionality is also being provided by both `cronie` and `busybox`'s crond.
12 lines
351 B
Diff
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");
|
|
}
|
|
|