summaryrefslogtreecommitdiff
path: root/ezjail.sh
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2006-02-16 13:12:59 +0000
committererdgeist <erdgeist@erdgeist.org>2006-02-16 13:12:59 +0000
commit681fd1999045dc69d3e7748561ac396fa9ff78a3 (patch)
tree01e640be12c119166b25b71b422cdb3d61f31988 /ezjail.sh
parenta2b29799af194531f8c90145be2f44d002d425c4 (diff)
Ugly ugly bug: [ test for string ] fails for too many paramters. Quote the string.RELEASE_1_3
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 b82e8fc..0d0a247 100755
--- a/ezjail.sh
+++ b/ezjail.sh
@@ -39,7 +39,7 @@ do_cmd()
39 echo " Warning: Jail ${jail} not found." 39 echo " Warning: Jail ${jail} not found."
40 fi 40 fi
41 done 41 done
42 [ ${jail_pass} ] && sh /etc/rc.d/jail one${action} ${jail_pass} 42 [ "${jail_pass}" ] && sh /etc/rc.d/jail one${action} ${jail_pass}
43} 43}
44 44
45run_rc_command $* 45run_rc_command $*