diff options
Diffstat (limited to 'src/posix/signalHandler.hpp')
-rw-r--r-- | src/posix/signalHandler.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/posix/signalHandler.hpp b/src/posix/signalHandler.hpp index b63d6ea..dc14f03 100644 --- a/src/posix/signalHandler.hpp +++ b/src/posix/signalHandler.hpp @@ -87,7 +87,7 @@ void handleSignal() struct timespec timeout; sigset_t signal_set; int sigNum; - while(1) { + for(;;) { sigemptyset(&signal_set); sigaddset(&signal_set, SIGINT); sigaddset(&signal_set, SIGQUIT); |