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