MFC: Fix quoting.

src/etc/rc.d/jail: rev 1.28 -> 1.29

Reported by:	Dirk Engling <erdgeist at erdgeist.org>
Approved by:	pjd
This commit is contained in:
flz 2006-05-10 13:05:52 +00:00
parent 4c2e636ffc
commit aa5f82c89d

View File

@ -164,7 +164,7 @@ jail_start()
echo -n " [${jail_hostname} already running (/var/run/jail_${_jail}.id exists)]"
continue;
fi
if [ -n ${jail_interface} ]; then
if [ -n "${jail_interface}" ]; then
ifconfig ${jail_interface} alias ${jail_ip} netmask 255.255.255.255
fi
if checkyesno jail_mount; then
@ -239,7 +239,7 @@ jail_stop()
jail_umount_fs
echo -n " $jail_hostname"
fi
if [ -n ${jail_interface} ]; then
if [ -n "${jail_interface}" ]; then
ifconfig ${jail_interface} -alias ${jail_ip}
fi
rm /var/run/jail_${_jail}.id