X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fscripts%2Flegacy%2Fvserverkillall;h=1cf0f4383f545d9789165347ba6f675d7071fd43;hb=95cf3519da76f335389cd7a18d0090b59f81f2e7;hp=f49f33929cf0fa4296efd26ddc4135c3eba4cb4c;hpb=33943e4d3dcc3ae3f3b2634fac0de0920109cd22;p=util-vserver.git diff --git a/util-vserver/scripts/legacy/vserverkillall b/util-vserver/scripts/legacy/vserverkillall index f49f339..1cf0f43 100755 --- a/util-vserver/scripts/legacy/vserverkillall +++ b/util-vserver/scripts/legacy/vserverkillall @@ -20,7 +20,7 @@ # This script kills all process it can finds # Only useful if you are using a security context. # It does nothing in context 0 -USR_LIB_VSERVER=$(dirname $0) +USR_LIB_VSERVER=/usr/lib/util-vserver CTX=`grep ^s_context /proc/self/status | sed s/s_context:// | (read a b; echo $a)` CTX=`eval expr $CTX + 0` if [ "$CTX" = 0 ] ; then