summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin6
1 files changed, 3 insertions, 3 deletions
diff --git a/ezjail-admin b/ezjail-admin
index b73ebc6..0066b10 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -60,7 +60,7 @@ create)
60 [ -d $ezjail_jailbase ] || exerr "Error: base jail does not exist. Please run 'ezjail-admin update' first" 60 [ -d $ezjail_jailbase ] || exerr "Error: base jail does not exist. Please run 'ezjail-admin update' first"
61 61
62 # relative paths don't make sense in rc.scripts 62 # relative paths don't make sense in rc.scripts
63 [ ${ezjail_jaildir#/} = ${ezjail_jaildir} ] && exerr "Error: Need an absolute path in ezjail_jaildir, it is currently set to: $ezjail_jaildir" 63 [ ${ezjail_jaildir#/} = ${ezjail_jaildir} ] && exerr "Error: Need an absolute path in ezjail_jaildir, it currently is set to: $ezjail_jaildir"
64 64
65 # jail names must not have names that irritate file systems, 65 # jail names must not have names that irritate file systems,
66 # excluding dots from this list was done intentionally to 66 # excluding dots from this list was done intentionally to
@@ -95,13 +95,13 @@ create)
95 newjail_flav=${ezjail_etc}/ezjail.flavour.${newjail_flavour} 95 newjail_flav=${ezjail_etc}/ezjail.flavour.${newjail_flavour}
96 fi 96 fi
97 # Flavour not found 97 # Flavour not found
98 [ "$newjail_flav" ] || exerr "Error: Flavour file ${newjail_flavour} not found" 98 [ "$newjail_flav" ] || exerr "Error: Flavour config file ${newjail_flavour} not found"
99 fi 99 fi
100 100
101 # now take a copy of our template jail 101 # now take a copy of our template jail
102 if [ "$newjail_fill" = "YES" ]; then 102 if [ "$newjail_fill" = "YES" ]; then
103 mkdir -p ${newjail_root} && cd ${ezjail_jailtemplate} && \ 103 mkdir -p ${newjail_root} && cd ${ezjail_jailtemplate} && \
104 find * | cpio -p -v ${newjail_root} 104 find * | cpio -p -v ${newjail_root} > /dev/null
105 fi 105 fi
106 106
107 # if a soft link is necessary, create it now 107 # if a soft link is necessary, create it now