mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 10:43:32 +00:00
debug() shouldn't misidentify itself to logger(1).
Noticed by: David Thompson <dat1965 yahoo com>
This commit is contained in:
parent
7251f55777
commit
4af42c2cb1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162947
@ -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: $*"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user