diff --git a/start-finalSetupModpack b/start-finalSetupModpack index 4e956070..855233e2 100644 --- a/start-finalSetupModpack +++ b/start-finalSetupModpack @@ -154,7 +154,10 @@ fi if [[ "${GENERIC_PACK}" ]]; then if isURL "${GENERIC_PACK}"; then log "Downloading generic pack ..." - curl -fsSL -o /tmp/generic_pack.zip "${GENERIC_PACK}" + if ! curl -fsSL -o /tmp/generic_pack.zip "${GENERIC_PACK}"; then + log "ERROR: failed to download ${GENERIC_PACK}" + exit 2 + fi GENERIC_PACK=/tmp/generic_pack.zip fi