summaryrefslogtreecommitdiff
path: root/ezjail.sh
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2006-04-12 19:04:46 +0000
committererdgeist <erdgeist@erdgeist.org>2006-04-12 19:04:46 +0000
commita4836ec1a43a35cc15483ec38f2abafefbba58e8 (patch)
tree579236715eae9496a1e8499f23066b28e8e3d7ff /ezjail.sh
parent5a3021c9141e88b464eb1ca6d109d5fc376c320a (diff)
Some more escaping...
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