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.
This commit is contained in:
Doug Barton 2009-11-07 22:59:04 +00:00
parent 8bec9b9ee1
commit 715542d57f

View File

@ -588,7 +588,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=