svn commit: r200592 - stable/8/etc
Doug Barton
dougb at FreeBSD.org
Tue Dec 15 15:05:17 PST 2009
Author: dougb
Date: Tue Dec 15 23:05:16 2009
New Revision: 200592
URL: http://svn.freebsd.org/changeset/base/200592
Log:
Re-apply the fix from r199029 (MFC from r198162) to allow
$name_program to override $command.
PR: conf//141642
Submitted by: Petr Lampa <lampa at fit.vutbr.cz>
Modified:
stable/8/etc/rc.subr
Modified: stable/8/etc/rc.subr
==============================================================================
--- stable/8/etc/rc.subr Tue Dec 15 22:44:28 2009 (r200591)
+++ stable/8/etc/rc.subr Tue Dec 15 23:05:16 2009 (r200592)
@@ -616,7 +616,7 @@ run_rc_command()
esac
eval _override_command=\$${name}_program
- command=${command:-${_override_command}}
+ command=${_override_command:-$command}
_keywords="start stop restart rcvar $extra_commands"
rc_pid=
More information about the svn-src-all
mailing list