svn commit: r199032 - stable/7/etc
Doug Barton
dougb at FreeBSD.org
Sat Nov 7 23:37:29 UTC 2009
Author: dougb
Date: Sat Nov 7 23:37:29 2009
New Revision: 199032
URL: http://svn.freebsd.org/changeset/base/199032
Log:
MFC r198162:
Allow $name_program to override $command in a more robust way that
will not cause the value to be null if $command is not set.
Modified:
stable/7/etc/rc.subr
Directory Properties:
stable/7/etc/ (props changed)
Modified: stable/7/etc/rc.subr
==============================================================================
--- stable/7/etc/rc.subr Sat Nov 7 23:24:17 2009 (r199031)
+++ stable/7/etc/rc.subr Sat Nov 7 23:37:29 2009 (r199032)
@@ -565,7 +565,7 @@ run_rc_command()
esac
eval _override_command=\$${name}_program
- command=${command:+${_override_command:-$command}}
+ command=${_override_command:-$command}
_keywords="start stop restart rcvar $extra_commands"
rc_pid=
More information about the svn-src-stable-7
mailing list