rc.subr - Add missing quotes.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Mon, 4 Apr 2011 19:13:01 +0000 (21:13 +0200)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Mon, 4 Apr 2011 19:13:01 +0000 (21:13 +0200)
etc/rc.subr

index 616b281..601a7b2 100644 (file)
@@ -805,7 +805,7 @@ $command $rc_flags $command_args"
                                        # if the precmd failed and force
                                        # isn't set, exit
                                        #
-                       if [ -n $_precmd ]; then
+                       if [ -n "$_precmd" ]; then
                                eval $_precmd
                                _return=$?
                                check_early_term $rc_arg $_return "$rc_force" || return $(($?-1))