Taking inability to determine -image_file size as reason to abort
This commit is contained in:
parent
245102072c
commit
e226486172
@ -164,7 +164,8 @@ arg_interpreter() {
|
|||||||
min_size="$(stat -c '%s' "$i" | round_down_div_million)"
|
min_size="$(stat -c '%s' "$i" | round_down_div_million)"
|
||||||
if test -z "$min_size"
|
if test -z "$min_size"
|
||||||
then
|
then
|
||||||
echo "WARNING: Cannot obtain size of -image_file '$i'" >&2
|
echo "FAILURE: Cannot obtain size of -image_file '$i'" >&2
|
||||||
|
exit 13
|
||||||
else
|
else
|
||||||
min_size="$(expr $min_size + 1)"
|
min_size="$(expr $min_size + 1)"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user