diff options
author | erdgeist <erdgeist@erdgeist.org> | 2006-02-16 13:12:59 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2006-02-16 13:12:59 +0000 |
commit | 681fd1999045dc69d3e7748561ac396fa9ff78a3 (patch) | |
tree | 01e640be12c119166b25b71b422cdb3d61f31988 /ezjail.sh | |
parent | a2b29799af194531f8c90145be2f44d002d425c4 (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-x | ezjail.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||
45 | run_rc_command $* | 45 | run_rc_command $* |