minor cleanups: call vkill with '--xid' instead of '-c'
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 25 Mar 2005 17:11:44 +0000 (17:11 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 25 Mar 2005 17:11:44 +0000 (17:11 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1991 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vserver.functions

index a9cea8a..d999d7e 100644 (file)
@@ -187,7 +187,7 @@ function sendKillSequence
     while isCtxRunning "$ctx"; do
        test -z "$wait" || sleep "$wait"
        
-       $_VKILL -c "$ctx" ${1:+-s "$1"} 2>/dev/null || :
+       $_VKILL --xid "$ctx" ${1:+-s "$1"} 2>/dev/null || :
        test -n "$2" || break
        wait="$2"
        shift 2