mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-10 06:03:47 -05:00
verbose logging is now debug
This commit is contained in:
@@ -117,7 +117,7 @@ function header() { local _message="========== ${@} ========== "; echo "$(_
|
||||
# Log messages when verbose is set to "1"
|
||||
verbose() {
|
||||
if [ "${verbose}" == "1" ]; then
|
||||
info "$@"
|
||||
debug "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user