sendKillSequence(): be silent and succeed everytime
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Wed, 5 May 2004 19:39:00 +0000 (19:39 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Wed, 5 May 2004 19:39:00 +0000 (19:39 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1536 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vserver.functions

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