From owner-freebsd-bugs@FreeBSD.ORG Thu Aug 17 13:50:19 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 314B016A4E6 for ; Thu, 17 Aug 2006 13:50:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEC1343D49 for ; Thu, 17 Aug 2006 13:50:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7HDoIeB013804 for ; Thu, 17 Aug 2006 13:50:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7HDoIc1013803; Thu, 17 Aug 2006 13:50:18 GMT (envelope-from gnats) Date: Thu, 17 Aug 2006 13:50:18 GMT Message-Id: <200608171350.k7HDoIc1013803@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Maxim Konovalov Cc: Subject: Re: bin/102184: the -n switch of the test command does not work X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Maxim Konovalov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 13:50:19 -0000 The following reply was made to PR bin/102184; it has been noted by GNATS. From: Maxim Konovalov To: Florian Meister Cc: bug-followup@freebsd.org Subject: Re: bin/102184: the -n switch of the test command does not work Date: Thu, 17 Aug 2006 17:41:46 +0400 (MSD) On Thu, 17 Aug 2006, 15:35+0200, Florian Meister wrote: > 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 That was already fixed in HEAD and RELENG_6. Do any other problems with -n flag remain? Can I close the PR? -- Maxim Konovalov