summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/jail
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/jail')
-rw-r--r--etc/rc.d/jail4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/jail b/etc/rc.d/jail
index fbb2dd6..8b9f384 100644
--- a/etc/rc.d/jail
+++ b/etc/rc.d/jail
@@ -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
OpenPOWER on IntegriCloud