diff --git a/nightly-modular.sh b/nightly-modular.sh index d6f66ff..04af148 100755 --- a/nightly-modular.sh +++ b/nightly-modular.sh @@ -52,6 +52,9 @@ else fi time $CMD "$@" +if [ "$?" != "0" ]; then + exit 1 +fi NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-Modular-Bikeshed/COMPOSE_ID) SHORTCOMPOSE_ID=$(echo $NEWCOMPOSE_ID|sed -e 's|Fedora-Modular.*-||g')