From 0406a35b8764141410b8481da6956b400162d4bb Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Tue, 12 Sep 2006 10:39:13 +0000 Subject: [PATCH] Fix condrestart to actually do a conditional restart (https://savannah.nongnu.org/bugs/index.php?15678) git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2290 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- scripts/vserver | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vserver b/scripts/vserver index 5187776..84166e9 100755 --- a/scripts/vserver +++ b/scripts/vserver @@ -208,7 +208,7 @@ case "$2" in $cmd "$@" ;; (condrestart) - test ! isVserverRunning "$VSERVER_DIR" || restart + ! isVserverRunning "$VSERVER_DIR" || restart ;; (exec) shift 2 -- 1.8.1.5