Taking inability to determine -image_file size as reason to abort

master
Thomas Schmitt 3 years ago
parent 245102072c
commit e226486172
  1. 3
      xorriso-dd-target/xorriso-dd-target

@ -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

Loading…
Cancel
Save