From b1e0915063a39a0d6dcd8e9e0dac7725ce1d7a44 Mon Sep 17 00:00:00 2001 From: Sebastiano Barezzi Date: Mon, 22 Jul 2024 22:43:13 +0200 Subject: [PATCH] wiki: prepare_image.sh: Add `set -e` Handles ImageMagick failing due to this bug https://github.com/ImageMagick/ImageMagick/issues/7491, bailing out instead of ignoring the issue Change-Id: Ibf7fab2c8392686c7003891d798a5106d11e2f6e --- scripts/prepare_image.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/prepare_image.sh b/scripts/prepare_image.sh index d9cfea4ded..a777b8589f 100755 --- a/scripts/prepare_image.sh +++ b/scripts/prepare_image.sh @@ -1,3 +1,5 @@ +set -e + usage() { echo "Usage:" echo " $0 image_name"