From a4836ec1a43a35cc15483ec38f2abafefbba58e8 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Wed, 12 Apr 2006 19:04:46 +0000 Subject: Some more escaping... --- ezjail.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ezjail.sh b/ezjail.sh index dc3d799..ff072f4 100755 --- a/ezjail.sh +++ b/ezjail.sh @@ -52,7 +52,7 @@ do_cmd() for ezjail in ${ezjail_list}; do # If jail is temporary disabled (dot in name), skip it - [ ${ezjail%.*} != ${ezjail} ] && continue + [ "${ezjail%.*}" != "${ezjail}" ] && continue # Check for jails config [ ! -r ${ezjail_prefix}/etc/ezjail/${ezjail} ] && echo " Warning: Jail ${ezjail} not found." && continue -- cgit v1.2.3