We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f49dc96 commit 299dad9Copy full SHA for 299dad9
1 file changed
aws/docker_and_sync.sh
@@ -15,10 +15,10 @@ echo "📅 Container built at: $BUILD_TIMESTAMP"
15
16
# Function to sync logs on exit
17
cleanup() {
18
+ local exit_code=$?
19
echo "═══════════════════════════════════════════════════════════════════════════════"
20
echo "Cleanup stage of docker_and_sync.sh"
21
- local exit_code=$?
22
# Ensure cleanup failures do not clobber the original exit code
23
set +e
24
if [ -n "$(ls -A logs/ 2>/dev/null)" ]; then
0 commit comments