diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-03-15 11:01:46 +0300 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-03-15 11:01:58 +0300 |
| commit | 5f1d6eca80c2bfe861bf9001f0d2c023eee9bdb5 (patch) | |
| tree | a64fa1119a4e516c459862c996850dd5931097f6 /units | |
| parent | 0bf1ad520cd1684d49c10acd569e16e7e15f0283 (diff) | |
units/ib_hash: Keep processing sample to avoid error image
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'units')
| -rw-r--r-- | units/ib_hash.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
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}")" |
