mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-07 09:10:57 +01:00
Merge pull request #1957 from drwetter/fix_1956
Redirect debugme() outputs to stderr
This commit is contained in:
commit
578d173319
@ -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