diff options
Diffstat (limited to 'units/ib_hash.zsh')
| -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}")" |
