mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Quote $jail_exec with double-quote to avoid "[: unexpected operator".
This commit is contained in:
parent
b221b92a5d
commit
7a79a9d713
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue