NetBSD rev. 1.57

run_rc_command(): when checking if ${command} exists before executing it,
  be sure to check under ${name_chroot} (if set).
  Fix from Ed Ravin in [bin/18523]

Obtained From:	NetBSD
This commit is contained in:
Mike Makonnen 2004-02-26 12:35:58 +00:00
parent 42477cdb78
commit 30cb2617ac

View File

@ -581,7 +581,7 @@ run_rc_command()
exit 1
fi
if [ ! -x $command ]; then
if [ ! -x ${_chroot}${command} ]; then
info "run_rc_command: cannot run ($command)."
return 0
fi