SOURCES: socat.init - kill parents and childrens
blues
blues at pld-linux.org
Thu Feb 5 21:23:48 CET 2009
Author: blues Date: Thu Feb 5 20:23:48 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- kill parents and childrens
---- Files affected:
SOURCES:
socat.init (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/socat.init
diff -u SOURCES/socat.init:1.2 SOURCES/socat.init:1.3
--- SOURCES/socat.init:1.2 Wed Feb 4 21:32:15 2009
+++ SOURCES/socat.init Thu Feb 5 21:23:42 2009
@@ -89,7 +89,7 @@
[ -f "$pidfile" ] || continue
pid=`cat "$pidfile"`
show "Stopping socat tunnel %s" "$tun"; busy
- killproc --pidfile socat/$tun.pid || err=1
+ pkill -g pid && ok
done
rm -f /var/lock/subsys/socat >/dev/null 2>&1
else
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/socat.init?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list