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