Propagated debug flag to image helper get

#1031
This commit is contained in:
Geoff Bourne 2021-10-10 09:53:52 -05:00
parent e5e9b0d928
commit ec97c67aca

View File

@ -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 "$@"
}