summaryrefslogtreecommitdiffstats
path: root/etc/rc.subr
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-07-25 17:14:38 +0000
committeryar <yar@FreeBSD.org>2006-07-25 17:14:38 +0000
commitad3f5611281e85fc06a0219b85b9dbc41c2ec1de (patch)
tree7e807422e9ac97e5daaa40b59628d92d998af16b /etc/rc.subr
parenteb3e86a4280ee5ba2a694d695b1a2509439cefcb (diff)
downloadFreeBSD-src-ad3f5611281e85fc06a0219b85b9dbc41c2ec1de.zip
FreeBSD-src-ad3f5611281e85fc06a0219b85b9dbc41c2ec1de.tar.gz
We notify of failures with err or warn.
Messages should end in full stop unless that can lead to confusion.
Diffstat (limited to 'etc/rc.subr')
-rw-r--r--etc/rc.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.subr b/etc/rc.subr
index 52acd32..d241f83 100644
--- a/etc/rc.subr
+++ b/etc/rc.subr
@@ -613,7 +613,7 @@ run_rc_command()
fi
if [ ! -x ${_chroot}${command} ]; then
- info "run_rc_command: cannot run ($command)."
+ warn "run_rc_command: cannot run $command"
return 1
fi
@@ -1141,7 +1141,7 @@ make_symlink()
return 1
fi
if [ ! -d "$linkdir" ]; then
- warn "$_me: the directory $linkdir does not exist"
+ warn "$_me: the directory $linkdir does not exist."
return 1
fi
if ! ln -sf $src $link; then
OpenPOWER on IntegriCloud