opnsense-ports/math/concorde/files/patch-killgrun.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

18 lines
582 B
C

--- TOOLS/killgrun.c.orig Thu Dec 16 11:26:57 2004
+++ TOOLS/killgrun.c Thu Dec 16 11:27:06 2004
@@ -75,13 +75,13 @@
if (rval) {
perror ("kill");
fprintf (stderr, "Unable to kill process %d\n", process);
-/*
+#if 0
if (errno == ESRCH) { /* Does not work on Red Hat 8 */
fprintf (stderr, "Process does not exist, telling boss anyway\n");
} else {
goto CLEANUP;
}
-*/
+#endif
fprintf (stderr, "Process does not exist, telling boss anyway\n");
}
}