]> git.pld-linux.org Git - packages/socat.git/commitdiff
- kill parents and childrens
authorPaweł Gołaszewski <blues@pld-linux.org>
Thu, 5 Feb 2009 20:23:42 +0000 (20:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    socat.init -> 1.3

socat.init

index 488a12905a0b53aa973da33820e86dc520a78367..12622c9781c3227fd5d2832f96b6423207b64c76 100644 (file)
@@ -89,7 +89,7 @@ stop() {
                        [ -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
This page took 0.144639 seconds and 4 git commands to generate.