We notify of failures with err or warn.
Messages should end in full stop unless that can lead to confusion.
This commit is contained in:
parent
e59cb1e6d4
commit
417ae47d51
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160667
@ -613,7 +613,7 @@ run_rc_command()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -x ${_chroot}${command} ]; then
|
if [ ! -x ${_chroot}${command} ]; then
|
||||||
info "run_rc_command: cannot run ($command)."
|
warn "run_rc_command: cannot run $command"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -1141,7 +1141,7 @@ make_symlink()
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
if [ ! -d "$linkdir" ]; then
|
if [ ! -d "$linkdir" ]; then
|
||||||
warn "$_me: the directory $linkdir does not exist"
|
warn "$_me: the directory $linkdir does not exist."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
if ! ln -sf $src $link; then
|
if ! ln -sf $src $link; then
|
||||||
|
Loading…
Reference in New Issue
Block a user