summaryrefslogtreecommitdiff
path: root/ezjail.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ezjail.sh')
-rwxr-xr-xezjail.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/ezjail.sh b/ezjail.sh
index 426025f..85f39a7 100755
--- a/ezjail.sh
+++ b/ezjail.sh
@@ -77,6 +77,12 @@ do_cmd()
77 eval ezjail_zfs_datasets=\"\$jail_${ezjail}_zfs_datasets\" 77 eval ezjail_zfs_datasets=\"\$jail_${ezjail}_zfs_datasets\"
78 eval ezjail_cpuset=\"\$jail_${ezjail}_cpuset\" 78 eval ezjail_cpuset=\"\$jail_${ezjail}_cpuset\"
79 79
80 # Fix backward compatibility issue
81 eval ezjail_exec_start=\"\$jail_${ezjail}_exec_start\"
82 eval ezjail_exec=\"\$jail_${ezjail}_exec\"
83 eval jail_${ezjail}_exec_start=${ezjail_exec_start:-${ezjail_exec}}
84 eval unset jail_${ezjail}_exec
85
80 # Do we still have a root to run in? 86 # Do we still have a root to run in?
81 [ ! -d "${ezjail_rootdir}" ] && echo " Warning: root directory ${ezjail_rootdir} of ${ezjail} does not exist." && continue 87 [ ! -d "${ezjail_rootdir}" ] && echo " Warning: root directory ${ezjail_rootdir} of ${ezjail} does not exist." && continue
82 88