Fix broken inline if command

This commit is contained in:
Manuel Thalmann 2023-03-25 18:48:41 +01:00
parent 9ed6567425
commit f62659297e

View file

@ -94,7 +94,7 @@ RUN \
outputHandlerCode="$?"; \
exitCode="$(cat "$exitCodeFile")"; \
rm "$exitCodeFile"; \
bash -c "exit $([ "$outputHandlerCode" -ne 0 ] && "$outputHandlerCode" || "$exitCode")"; \
bash -c "exit $([ "$outputHandlerCode" -ne 0 ] && echo "$outputHandlerCode" || echo "$exitCode")"; \
} & \
}; \
pid="$!"; \