diff --git a/automated/linux/ota-update/static-delta.sh b/automated/linux/ota-update/static-delta.sh index 466f464fc..43229dee4 100755 --- a/automated/linux/ota-update/static-delta.sh +++ b/automated/linux/ota-update/static-delta.sh @@ -108,7 +108,7 @@ SIZE_SEARCH_STRING=".[].\"${CURRENT_OSTREE_SHA}\".u_size" DELTA_SIZE=$(jq -r "${SIZE_SEARCH_STRING}" delta.json) if [ -z "${DELTA_SIZE}" ] || [ "${DELTA_SIZE}" = "null" ]; then error_msg "Size of static delta for update from ${CURRENT_OSTREE_SHA} not found" - exit 0; + exit 1; fi # check how much disk is free @@ -151,24 +151,21 @@ done if [ "${FILL_SIZE}" -gt 100 ]; then # no OTA should be performed # wait for 'install-post' signal - SIGNAL=$(