diff --git a/.dd4hep-ci.d/compile_and_test.sh b/.dd4hep-ci.d/compile_and_test.sh index bdc4b5f7f15b3b6eb07881e63ecfde8fc5c7d997..dcd13fb005f27f764f69827d8d9b65b69997105b 100755 --- a/.dd4hep-ci.d/compile_and_test.sh +++ b/.dd4hep-ci.d/compile_and_test.sh @@ -19,7 +19,7 @@ cmake -GNinja -DDD4HEP_USE_GEANT4=ON \ if [[ "${SHARED}" == "OFF" ]]; then - exit 0; + exit $?; fi ninja install && \