diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2003-08-19 03:49:30 +0000 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2003-08-19 03:49:30 +0000 |
commit | 19b67cf857d897a717de564b1fbd433576000ca6 (patch) | |
tree | df36728e053ae68cd051e41fa20a8cd6b14a4323 /etc/rc.d/jail | |
parent | d1e2c3ea0c1f581bffb03c17a277fbf6a8eb71d7 (diff) | |
download | FreeBSD-src-19b67cf857d897a717de564b1fbd433576000ca6.zip FreeBSD-src-19b67cf857d897a717de564b1fbd433576000ca6.tar.gz |
Quote $jail_exec with double-quote to avoid "[: unexpected operator".
Diffstat (limited to 'etc/rc.d/jail')
-rw-r--r-- | etc/rc.d/jail | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/jail b/etc/rc.d/jail index 2c7c76a..364ca9c 100644 --- a/etc/rc.d/jail +++ b/etc/rc.d/jail @@ -53,7 +53,7 @@ jail_start() eval jail_hostname=\"\$jail_${_jail}_hostname\" eval jail_ip=\"\$jail_${_jail}_ip\" eval jail_exec=\"\$jail_${_jail}_exec\" - [ -z ${jail_exec} ] && jail_exec="/bin/sh /etc/rc" + [ -z "${jail_exec}" ] && jail_exec="/bin/sh /etc/rc" jail ${jail_rootdir} ${jail_hostname} ${jail_ip} ${jail_exec} done |