summaryrefslogtreecommitdiffstats
path: root/etc/rc.subr
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-10-02 08:20:37 +0000
committeryar <yar@FreeBSD.org>2006-10-02 08:20:37 +0000
commit53d4e5c17ecb27dcec2b3a40a66e19a0b036caea (patch)
tree4c005e58c854fcff66106a6337f528d84e6df505 /etc/rc.subr
parentff66a30202a01ed7e94af76a94d7ac56a633b2e1 (diff)
downloadFreeBSD-src-53d4e5c17ecb27dcec2b3a40a66e19a0b036caea.zip
FreeBSD-src-53d4e5c17ecb27dcec2b3a40a66e19a0b036caea.tar.gz
debug() shouldn't misidentify itself to logger(1).
Noticed by: David Thompson <dat1965 yahoo com>
Diffstat (limited to 'etc/rc.subr')
-rw-r--r--etc/rc.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.subr b/etc/rc.subr
index 36144cd..e5bf18d 100644
--- a/etc/rc.subr
+++ b/etc/rc.subr
@@ -1008,7 +1008,7 @@ debug()
case ${rc_debug} in
[Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
if [ -x /usr/bin/logger ]; then
- logger "$0: INFO: $*"
+ logger "$0: DEBUG: $*"
fi
echo 1>&2 "$0: DEBUG: $*"
;;
OpenPOWER on IntegriCloud