diff options
author | flz <flz@FreeBSD.org> | 2006-05-08 17:32:45 +0000 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2006-05-08 17:32:45 +0000 |
commit | 12a9a4edc93f2568412a4aea8d0561d2c9e739df (patch) | |
tree | 3bbc749adfebd6a89e10829e863cb62d0865d95f /etc/rc.d/jail | |
parent | 21509aa60f499eba36394a412a7cb3918f2bc996 (diff) | |
download | FreeBSD-src-12a9a4edc93f2568412a4aea8d0561d2c9e739df.zip FreeBSD-src-12a9a4edc93f2568412a4aea8d0561d2c9e739df.tar.gz |
- Fix quoting.
Reported by: Dirk Engling <erdgeist@erdgeist.org>
Pointyhat to: self
Diffstat (limited to 'etc/rc.d/jail')
-rw-r--r-- | etc/rc.d/jail | 4 |
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 |