From: Enrico Scholz Date: Fri, 4 Feb 2005 02:55:33 +0000 (+0000) Subject: fixed one of the previously added 'test -n' X-Git-Tag: IPSENTINEL_VERSION_0_12~139 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50c4c023427e6699ff7151b7d9f109def2b65510;p=util-vserver.git 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 --- 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