termux-packages/packages/ircd-irc2/contrib-ircdwatch-ircdwatch...

12 lines
279 B
Diff
Raw Normal View History

2021-12-20 10:36:17 +01:00
--- a/contrib/ircdwatch/ircdwatch.c
+++ b/contrib/ircdwatch/ircdwatch.c
@@ -205,7 +205,7 @@
}
if (pid == 0) {
- execl("/bin/sh", "sh", "-c", cmd, (char *) NULL);
+ execl("@TERMUX_PREFIX@/bin/sh", "sh", "-c", cmd, (char *) NULL);
_exit(127);
}
return(0);