Prevent wrong debug return
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user