Skip to content

Commit

Permalink
Merge pull request #31 from d3b-center/devbyaccident-patch-1
Browse files Browse the repository at this point in the history
Remove bad trap SIGINT
  • Loading branch information
devbyaccident authored May 9, 2022
2 parents 184cd4e + 6ee763a commit d8f6994
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions d3b_cli_igor/utils/scripts/dev-env-tunnel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
set -e
trap ctrl_c SIGINT SIGTERM ERR EXIT INT
trap ctrl_c SIGTERM ERR EXIT INT
ctrl_c () {
trap - SIGINT SIGTERM ERR EXIT INT
trap - SIGTERM ERR EXIT INT
echo ""
echo "Exiting tunnel..."
kill $(ps -ef | grep "ssm start-session" | grep -v grep | awk '{ print $2 }')
Expand Down

0 comments on commit d8f6994

Please sign in to comment.