fixed one of the previously added 'test -n'
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 4 Feb 2005 02:55:33 +0000 (02:55 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 4 Feb 2005 02:55:33 +0000 (02:55 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1855 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vserver.functions

index 4f26737..966dc2d 100644 (file)
@@ -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