Taking inability to determine -image_file size as reason to abort

This commit is contained in:
Thomas Schmitt 2019-12-04 12:31:53 +01:00
parent 245102072c
commit e226486172

View File

@ -164,7 +164,8 @@ arg_interpreter() {
min_size="$(stat -c '%s' "$i" | round_down_div_million)"
if test -z "$min_size"
then
echo "WARNING: Cannot obtain size of -image_file '$i'" >&2
echo "FAILURE: Cannot obtain size of -image_file '$i'" >&2
exit 13
else
min_size="$(expr $min_size + 1)"
fi