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:
parent
42477cdb78
commit
30cb2617ac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user