Prevent wrong debug return

This commit is contained in:
2023-01-13 18:28:06 -05:00
parent dd603ab7f3
commit 5d9553408e

View File

@@ -102,7 +102,7 @@ printHelp() {
}
# Helpers
debug() { (( DEBUG )) && [[ $# -gt 0 ]] && echo "Debug: $*"; }
debug() { (( DEBUG )) && echo "Debug: $*"; }
err() { echo "Error: $*" >&2; }
askOk() {
declare response
@@ -293,7 +293,6 @@ init() {
err "OS detection failed!"
exit 1
fi
;;
esac
debug "Using host platform: $ID $VERSION_ID"