Skip to content

Commit 7a4570a

Browse files
committed
Fix(aws): Exit code
1 parent 47c3c18 commit 7a4570a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

aws/docker_and_sync.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,8 @@ echo "════════════════════════
129129
echo "✅ Wrapper script docker_and_sync.sh pologue finished, executing user command: $*"
130130
echo "═══════════════════════════════════════════════════════════════════════════════"
131131
# Execute the command passed to container
132+
# Temporarily disable set -e so we can capture the exit code
133+
set +e
132134
"$@"
135+
exit_code=$?
136+
exit $exit_code

0 commit comments

Comments
 (0)