From 5f1d6eca80c2bfe861bf9001f0d2c023eee9bdb5 Mon Sep 17 00:00:00 2001 From: Maria Lisina Date: Sun, 15 Mar 2026 11:01:46 +0300 Subject: units/ib_hash: Keep processing sample to avoid error image Signed-off-by: Maria Lisina --- units/ib_hash.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/ib_hash.zsh b/units/ib_hash.zsh index c53ffa0..ade76fd 100644 --- a/units/ib_hash.zsh +++ b/units/ib_hash.zsh @@ -30,7 +30,7 @@ if [[ -z "${output_text}" ]] then ib_id="$(jq -r ".[0].${ib_iid}" "${ib_file}")" - if ! [[ -f "${ib_sample}" ]] + if ! [[ -f "${ib_sample}" && "$(< "${ib_sample}")" != "${ib_error_url}" ]] then ib_file_size="$(jq -r ".[0].${ib_isize}" "${ib_file}")" ib_file_url="$(jq -r ".[0].${ib_ifile}" "${ib_file}")" -- cgit v1.2.3