Skip to content

Commit

Permalink
Issue #5: Provide Docker Container
Browse files Browse the repository at this point in the history
Adding `trap` for proper SIGINT and SIGTERM handling
  • Loading branch information
dumrauf committed Oct 16, 2020
1 parent babf221 commit ff01574
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions yt2ab.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ set +x
# Stop on all errors
set -e

# Ensure proper exit on SIGINT and SIGTERM
trap "exit 0" SIGINT SIGTERM


###############################################################################
# Default Arguments #
Expand Down

0 comments on commit ff01574

Please sign in to comment.