summaryrefslogtreecommitdiff
path: root/ezjail.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ezjail.sh')
-rwxr-xr-xezjail.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ezjail.sh b/ezjail.sh
index 85f39a7..90a781b 100755
--- a/ezjail.sh
+++ b/ezjail.sh
@@ -80,7 +80,7 @@ do_cmd()
80 # Fix backward compatibility issue 80 # Fix backward compatibility issue
81 eval ezjail_exec_start=\"\$jail_${ezjail}_exec_start\" 81 eval ezjail_exec_start=\"\$jail_${ezjail}_exec_start\"
82 eval ezjail_exec=\"\$jail_${ezjail}_exec\" 82 eval ezjail_exec=\"\$jail_${ezjail}_exec\"
83 eval jail_${ezjail}_exec_start=${ezjail_exec_start:-${ezjail_exec}} 83 eval jail_${ezjail}_exec_start=\"\${ezjail_exec_start:-${ezjail_exec}}\"
84 eval unset jail_${ezjail}_exec 84 eval unset jail_${ezjail}_exec
85 85
86 # Do we still have a root to run in? 86 # Do we still have a root to run in?
@@ -103,7 +103,7 @@ do_cmd()
103 done 103 done
104 104
105 # Pass control to jail script which does the actual work 105 # Pass control to jail script which does the actual work
106 [ "${ezjail_pass}" ] && sh /etc/rc.d/jail one${action%crypto} ${ezjail_pass} 106 [ "${ezjail_pass}" ] && sh ${ezjail_rc_jail} one${action%crypto} ${ezjail_pass}
107 107
108 if [ "${action}" = "start" ]; then 108 if [ "${action}" = "start" ]; then
109 ezjail_safename=`echo -n "${ezjail}" | tr -c '[:alnum:]' _` 109 ezjail_safename=`echo -n "${ezjail}" | tr -c '[:alnum:]' _`