syntax problem with /etc/rc.d/nfslocking

Mike Makonnen mtm at identd.net
Thu Jul 24 11:18:44 PDT 2003


Thanks! I just committed a fix (reproduced here for
your convenience).

Cheers.
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm at identd.net | D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9
mtm at FreeBSD.Org| FreeBSD - Unleash the Daemon!
-------------- next part --------------
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" ] &&


More information about the freebsd-current mailing list