Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2006 13:40:21 GMT
From:      Florian Meister <florian.meister@medienhaus.at>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/102184: the -n switch of the test command does not work
Message-ID:  <200608171340.k7HDeLx7013195@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/102184; it has been noted by GNATS.

From: Florian Meister <florian.meister@medienhaus.at>
To: Maxim Konovalov <maxim@macomnet.ru>
Cc: bug-followup@freebsd.org
Subject: Re: bin/102184: the -n switch of the test command does not work
Date: Thu, 17 Aug 2006 15:35:54 +0200

 hi maxim,
 
 >> set testvar="lala" ; [ -n "$testvar" ] ; echo $? ; echo $testvar
 > 0
 > lala
 >> set testvar="" ; [ -n "$testvar" ] ; echo $? ; echo $testvar
 > 1
 
 okay I see, but then there is a bug in the /etc/rc.d/jail script at line 
 167:
 
 --snip--
 if [ -n ${jail_interface} ]; then
     ifconfig ${jail_interface} alias ${jail_ip} netmask 255.255.255.255
 fi
 --snap--
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608171340.k7HDeLx7013195>