[PC-BSD Commits] r17718 - pcbsd/current/src-sh/warden/scripts/backend

svn at pcbsd.org svn at pcbsd.org
Fri Jul 13 09:15:18 PDT 2012


Author: kris
Date: 2012-07-13 16:15:18 +0000 (Fri, 13 Jul 2012)
New Revision: 17718

Modified:
   pcbsd/current/src-sh/warden/scripts/backend/createjail.sh
Log:

Don't try to download the chroot file when doing a linux jail



Modified: pcbsd/current/src-sh/warden/scripts/backend/createjail.sh
===================================================================
--- pcbsd/current/src-sh/warden/scripts/backend/createjail.sh	2012-07-13 13:36:58 UTC (rev 17717)
+++ pcbsd/current/src-sh/warden/scripts/backend/createjail.sh	2012-07-13 16:15:18 UTC (rev 17718)
@@ -90,7 +90,7 @@
 done
 
 # Check if we need to download the chroot file
-if [ ! -e "${WORLDCHROOT}" ] ; then downloadchroot ; fi
+if [ ! -e "${WORLDCHROOT}" -a "${LINUXJAIL}" != "YES" ] ; then downloadchroot ; fi
 
 isDirZFS "${JDIR}"
 if [ $? -eq 0 ] ; then



More information about the Commits mailing list