From: Enrico Scholz Date: Tue, 12 Apr 2005 21:52:16 +0000 (+0000) Subject: killContext(): commented out the more correct X-Git-Tag: version_0_30_210~257 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dad68012ef154a21f92d032ca514a8ea54d51740;p=util-vserver.git killContext(): commented out the more correct (but not working) kill-sequence git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2024 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/functions b/util-vserver/scripts/functions index 2aa5e02..6b89210 100644 --- a/util-vserver/scripts/functions +++ b/util-vserver/scripts/functions @@ -577,8 +577,13 @@ function setDefaultTTY ## Usage: killContext [] function killContext { - $_VKILL -s "${2:-9}" --xid "$1" 1 &>/dev/null || : - $_VKILL -s "${2:-9}" --xid "$1" &>/dev/null || : + local sig=${2:-9} + + #$_VKILL -s STOP --xid "$1" 1 &>/dev/null || : + $_VKILL -s "$sig" --xid "$1" 1 &>/dev/null || : + $_VKILL -s "$sig" --xid "$1" &>/dev/null || : + #$_VKILL -s "$sig" --xid "$1" 1 &>/dev/null || : + #$_VKILL -s CONT --xid "$1" 1 &>/dev/null || : } ## Usage: pkgmgmt.guessStyle