debug() shouldn't misidentify itself to logger(1).
Noticed by: David Thompson <dat1965 yahoo com>
This commit is contained in:
parent
7251f55777
commit
4af42c2cb1
@ -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