diff options
Diffstat (limited to 'ezjail.sh')
-rwxr-xr-x | ezjail.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |