diff options
-rwxr-xr-x | ezjail-admin | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ezjail-admin b/ezjail-admin index 7396b28..a6514c1 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -285,7 +285,10 @@ ezjail_splitworld() { | |||
285 | # This mkdir is important, since cpio will create intermediate | 285 | # This mkdir is important, since cpio will create intermediate |
286 | # directories with permission 0700 which is bad | 286 | # directories with permission 0700 which is bad |
287 | mkdir -p "${ezjail_jailbase}/usr" | 287 | mkdir -p "${ezjail_jailbase}/usr" |
288 | # Remove any leftover ezjail install logs | ||
289 | rm -f ${ezjail_jailbase}/.ezjail.installlog | ||
288 | for dir in ${ezjail_dirlist}; do | 290 | for dir in ${ezjail_dirlist}; do |
291 | find ${dir} >> ${ezjail_jailbase}/.ezjail.installlog | ||
289 | find ${dir} | cpio -d -p -v ${ezjail_keep_basejail} "${ezjail_jailbase}" || exerr "Error: Installation of ${dir} failed." | 292 | find ${dir} | cpio -d -p -v ${ezjail_keep_basejail} "${ezjail_jailbase}" || exerr "Error: Installation of ${dir} failed." |
290 | chflags -R noschg ${dir}; rm -r ${dir}; ln -s /basejail/${dir} ${dir} | 293 | chflags -R noschg ${dir}; rm -r ${dir}; ln -s /basejail/${dir} ${dir} |
291 | done | 294 | done |