mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-07 09:10:57 +01:00
Redirect debugme() outputs to stderr
... to address #1956 and other places.
This commit is contained in:
parent
91523be194
commit
65d6c27551
@ -1166,7 +1166,7 @@ get_last_char() {
|
|||||||
}
|
}
|
||||||
# Checking for last char. If already a separator supplied, we don't need an additional one
|
# Checking for last char. If already a separator supplied, we don't need an additional one
|
||||||
debugme() {
|
debugme() {
|
||||||
[[ "$DEBUG" -ge 2 ]] && "$@"
|
[[ "$DEBUG" -ge 2 ]] && "$@" >&2
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user