Skip to content

Commit

Permalink
add explicit cleanup message, should show up in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
pliablepixels committed Apr 11, 2021
1 parent ff4c0b5 commit 134038a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions hook/zm_event_end.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ trap 'cleanup' SIGINT SIGTERM
# Handle situation of ZM terminates while this is running
# so notifications are not sent
cleanup() {
echo "ZM is probably restarting, caught in cleanup signal handler"
exit 1
}

Expand Down
1 change: 1 addition & 0 deletions hook/zm_event_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ trap 'cleanup' SIGINT SIGTERM
# Handle situation of ZM terminates while this is running
# so notifications are not sent
cleanup() {
echo "ZM is probably restarting, caught in cleanup signal handler"
exit 1
}

Expand Down

0 comments on commit 134038a

Please sign in to comment.