Skip to content

Commit

Permalink
fixed bug to read SIGTERM signal when sent form kernal (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshGandhi-AWS authored Oct 12, 2023
1 parent 6ee7ff9 commit f207eaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ int main(int argc, char *argv[])
int received_signal;
sigaddset(&sigset, SIGINT);
sigaddset(&sigset, SIGHUP);
sigaddset(&sigset, SIGTERM);
sigprocmask(SIG_BLOCK, &sigset, nullptr);

auto listener = std::make_shared<DefaultClientBaseNotifier>();
Expand Down

0 comments on commit f207eaf

Please sign in to comment.