From 50c4c023427e6699ff7151b7d9f109def2b65510 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Fri, 4 Feb 2005 02:55:33 +0000 Subject: [PATCH] fixed one of the previously added 'test -n' git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1855 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/scripts/vserver.functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util-vserver/scripts/vserver.functions b/util-vserver/scripts/vserver.functions index 4f26737..966dc2d 100644 --- a/util-vserver/scripts/vserver.functions +++ b/util-vserver/scripts/vserver.functions @@ -737,7 +737,7 @@ function waitForSync A timeout or other error occured while waiting for the synchronization signal from vserver '$VSERVER_NAME'. The vserver will be killed nevertheless..." - elif test -n "${#INITCMD_STOP_SYNC[@]}" -ne 0; then + elif test "${#INITCMD_STOP_SYNC[@]}" -ne 0; then "${INITCMD_STOP_SYNC[@]}" || \ warning $"\ Stop-synchronization for vserver '$VSERVER_NAME' failed. The vserver -- 1.8.1.5