readme: fix typo in example

This commit is contained in:
Tom 2019-11-27 18:03:34 +01:00 committed by GitHub
parent 5046c3918e
commit 921daa85bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ Signal handler that uses [pthread_sigmask](http://man7.org/linux/man-pages/man3/
```
{
// Block signals
sgnl::SignalHandler signal_handler({SIGINT, SIGINT});
sgnl::SignalHandler signal_handler({SIGINT, SIGTERM});
// Wait for a signal
int signal_number = signal_handler.sigwait();