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

12 lines
279 B
Diff

--- 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);