commit 5ff968242e3907205d7e203668997a2e4b675c75 parent 4cf17affe97bc9e18a840fbf3121903cb1ff1c87 Author: Devan Carpenter <devan@taler.net> Date: Tue, 11 Feb 2025 10:13:33 +0100 ci: fix exit condition Diffstat:
| M | contrib/ci/jobs/2-deploy-head/job.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/ci/jobs/2-deploy-head/job.sh b/contrib/ci/jobs/2-deploy-head/job.sh @@ -20,7 +20,7 @@ apt-get install -yqq --no-install-recommends \ # Send our container tarball to the host rsync -vP \ --port ${RSYNC_PORT} \ - ${ARTIFACT_PATH} ${RSYNC_DEST} || rm -f ${ARTIFACT_PATH} && exit 1 + ${ARTIFACT_PATH} ${RSYNC_DEST} || (rm -f ${ARTIFACT_PATH} && exit 1) # Make sure we cleanup rm -f ${ARTIFACT_PATH}