- Fix quoting.

Reported by:	Dirk Engling <erdgeist@erdgeist.org>
Pointyhat to:	self
This commit is contained in:
Florent Thoumie 2006-05-08 17:32:45 +00:00
parent daf8aa80d9
commit 656a2a8738

View File

@ -175,7 +175,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
@ -250,7 +250,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