Fix broken inline if command
This commit is contained in:
parent
9ed6567425
commit
f62659297e
|
@ -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="$!"; \
|
||||
|
|
Loading…
Reference in a new issue