fixed typos
[util-vserver.git] / util-vserver / scripts / vserver.functions
index 4f26737..7b9076b 100644 (file)
@@ -660,7 +660,7 @@ function mountVserver
          -e "$cfgdir"/fstab.local -o \
         -e "$cfgdir"/fstab.remote || return 0
 
-    findObject -r mtab_src "$vdir"/apps/init/mtab "$CONFDIR"/.defaults/init/mtab "$PKGLIBDEFAULTDIR"/mtab /dev/null
+    findObject -r mtab_src "$cfgdir"/apps/init/mtab "$CONFDIR"/.defaults/init/mtab "$PKGLIBDEFAULTDIR"/mtab /dev/null
     
     pushd "$vdir" >/dev/null
     $_CHROOT_CAT /etc/mtab <"$mtab_src"
@@ -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