Merge pull request #1957 from drwetter/fix_1956

Redirect debugme() outputs to stderr
This commit is contained in:
Dirk Wetter 2021-08-07 13:55:31 +02:00 committed by GitHub
commit 578d173319
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1166,7 +1166,7 @@ get_last_char() {
}
# Checking for last char. If already a separator supplied, we don't need an additional one
debugme() {
[[ "$DEBUG" -ge 2 ]] && "$@"
[[ "$DEBUG" -ge 2 ]] && "$@" >&2
return 0
}