From 4af42c2cb11dd4d176b67d349d0ed173944e7bbd Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Mon, 2 Oct 2006 08:20:37 +0000 Subject: [PATCH] debug() shouldn't misidentify itself to logger(1). Noticed by: David Thompson --- etc/rc.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rc.subr b/etc/rc.subr index 36144cdd9bee..e5bf18d721cc 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: $*" ;;