Allow mountpoints
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 23 Sep 2011 13:58:13 +0000 (15:58 +0200)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 23 Sep 2011 13:58:13 +0000 (15:58 +0200)
scripts/vserver-build.functions

index 66b480a..eadef2f 100644 (file)
@@ -202,7 +202,7 @@ function base._addGeneratedFile
 function base.initFilesystem
 {
     test -z "$1" || _renameVserverCfg
-    { isDirectoryEmpty "$VDIR" && test  ! -e "$SETUP_CONFDIR"; } || colpanic $"\
+    { isDirectoryEmpty "$VDIR" 1 && test  ! -e "$SETUP_CONFDIR"; } || colpanic $"\
 vserver-topdirectory '$VDIR' and/or configuration at '$SETUP_CONFDIR'
 exist already; please try to use '--force', or remove them manually."