From dad68012ef154a21f92d032ca514a8ea54d51740 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Tue, 12 Apr 2005 21:52:16 +0000 Subject: [PATCH] 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 --- util-vserver/scripts/functions | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 -- 1.8.1.5