From 5d9553408e2a7d064ee03f0f6698580f4416ccbc Mon Sep 17 00:00:00 2001 From: bryan Date: Fri, 13 Jan 2023 18:28:06 -0500 Subject: [PATCH] Prevent wrong debug return --- installJRMC | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/installJRMC b/installJRMC index aa2922b..9a2216b 100755 --- a/installJRMC +++ b/installJRMC @@ -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"