termux-packages/packages/ircd-irc2/contrib-ircdwatch-ircdwatch.c.patch
2021-12-20 11:36:17 +02:00

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