Skip to content

Commit f01890c

Browse files
committed
Revert "feat: Cleanup on INT and TERM signals"
This reverts commit 2b32816. This duplicates calls to cleanup function, and I cannot really reproduce the failure mode where we need to trap INT/TERM separately.
1 parent 9633089 commit f01890c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-pussh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ cleanup() {
352352
ssh "${SSH_ARGS[@]}" -O exit 2>/dev/null || true
353353
fi
354354
}
355-
trap cleanup EXIT SIGINT SIGTERM
355+
trap cleanup EXIT
356356

357357
info "Connecting to $SSH_ADDRESS..."
358358
ssh_remote "$SSH_ADDRESS"

0 commit comments

Comments
 (0)