From 1c23b95aa45e3bf209b05e59e0b917e56c2e2efd Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 13 Jun 2024 12:24:39 +0200 Subject: [PATCH] ci/vkd3d: stop ignoring errors in a block where errors can't happen The `if` will catch the exit code of what it calls (that's the whole point). Part-of: --- .gitlab-ci/vkd3d-proton/run.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitlab-ci/vkd3d-proton/run.sh b/.gitlab-ci/vkd3d-proton/run.sh index 7f8b08c28ed..f885f222953 100755 --- a/.gitlab-ci/vkd3d-proton/run.sh +++ b/.gitlab-ci/vkd3d-proton/run.sh @@ -38,13 +38,11 @@ quiet() { set -x } -set +e if ! vulkaninfo | tee /tmp/version.txt | grep -F "Mesa $MESA_VERSION"; then printf "%s\n" "Found $(cat /tmp/version.txt), expected $MESA_VERSION" exit 1 fi -set -e if [ -d "$RESULTS" ]; then cd "$RESULTS" && rm -rf ..?* .[!.]* * && cd -