Browse Source

fix: Improve the error message on unsupported image types

Changelog: None

Signed-off-by: Ole Petter <ole.orhagen@northern.tech>
2.1.x
Ole Petter 4 years ago
parent
commit
c99e8c68e4
No known key found for this signature in database GPG Key ID: A7100375167A7B21
  1. 2
      modules/decompressinput.sh

2
modules/decompressinput.sh

@ -81,7 +81,7 @@ function decompress_image () {
xzcat "${input_image}" > "${disk_image}"
;;
* )
log_fatal "Unsupported input image type: ${input_image}"
log_fatal "Unsupported input image format: ${input_image}. We support: '.img', '.gz', '.zip', '.xz'."
;;
esac
echo "${disk_image}"

Loading…
Cancel
Save