Date: Thu, 24 Jul 2003 14:18:37 -0400 From: Mike Makonnen <mtm@identd.net> To: current@freebsd.org Subject: Re: syntax problem with /etc/rc.d/nfslocking Message-ID: <20030724181836.GA980@kokeb.ambesa.net> In-Reply-To: <20030724165938.GA2876@node1.cluster.srrc.usda.gov> References: <20030724165938.GA2876@node1.cluster.srrc.usda.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
--UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Thanks! I just committed a fix (reproduced here for your convenience). Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@identd.net | D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9 mtm@FreeBSD.Org| FreeBSD - Unleash the Daemon! --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="rcsubr.diff" Index: etc/rc.subr =================================================================== RCS file: /home/ncvs/src/etc/rc.subr,v retrieving revision 1.13 diff -u -r1.13 rc.subr --- etc/rc.subr 9 Jun 2003 17:31:06 -0000 1.13 +++ etc/rc.subr 24 Jul 2003 18:15:02 -0000 @@ -669,7 +669,7 @@ # if the precmd failed and force # isn't set, exit # - if [ -n $_precmd ]; then + if [ -n "$_precmd" ]; then eval $_precmd _return=$? [ $_return -ne 0 ] && [ -z "$rc_force" ] && --UlVJffcvxoiEqYs2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030724181836.GA980>