summaryrefslogtreecommitdiff
path: root/ezjail.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ezjail.sh')
-rwxr-xr-xezjail.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail.sh b/ezjail.sh
index dc3d799..ff072f4 100755
--- a/ezjail.sh
+++ b/ezjail.sh
@@ -52,7 +52,7 @@ do_cmd()
52 52
53 for ezjail in ${ezjail_list}; do 53 for ezjail in ${ezjail_list}; do
54 # If jail is temporary disabled (dot in name), skip it 54 # If jail is temporary disabled (dot in name), skip it
55 [ ${ezjail%.*} != ${ezjail} ] && continue 55 [ "${ezjail%.*}" != "${ezjail}" ] && continue
56 56
57 # Check for jails config 57 # Check for jails config
58 [ ! -r ${ezjail_prefix}/etc/ezjail/${ezjail} ] && echo " Warning: Jail ${ezjail} not found." && continue 58 [ ! -r ${ezjail_prefix}/etc/ezjail/${ezjail} ] && echo " Warning: Jail ${ezjail} not found." && continue