summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/jail
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2003-08-19 03:49:30 +0000
committerkuriyama <kuriyama@FreeBSD.org>2003-08-19 03:49:30 +0000
commit19b67cf857d897a717de564b1fbd433576000ca6 (patch)
treedf36728e053ae68cd051e41fa20a8cd6b14a4323 /etc/rc.d/jail
parentd1e2c3ea0c1f581bffb03c17a277fbf6a8eb71d7 (diff)
downloadFreeBSD-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/jail2
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
OpenPOWER on IntegriCloud