From ec97c67aca7b12b62ba550ed8edd6f613f6c4686 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sun, 10 Oct 2021 09:53:52 -0500 Subject: [PATCH] Propagated debug flag to image helper `get` #1031 --- start-utils | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/start-utils b/start-utils index df784f58..9e1cdd6c 100755 --- a/start-utils +++ b/start-utils @@ -182,5 +182,9 @@ function removeOldMods { } function get() { - mc-image-helper get "$@" + local flags=() + if isDebugging; then + flags+=("--debug") + fi + mc-image-helper "${flags[@]}" get "$@" } \ No newline at end of file