Skip to content
Snippets Groups Projects
Commit a4045f76 authored by ilor's avatar ilor
Browse files

rm pointless signal handler error message

parent f8f6ce84
No related merge requests found
...@@ -77,10 +77,10 @@ void TokenTimer::register_signal_handler() ...@@ -77,10 +77,10 @@ void TokenTimer::register_signal_handler()
memset(&s, 0, sizeof(s)); memset(&s, 0, sizeof(s));
s.sa_handler = &handler; s.sa_handler = &handler;
if (sigaction(SIGUSR1, &s, 0) != 0) if (sigaction(SIGUSR1, &s, 0) != 0)
#endif
{ {
std::cerr << "Signal handler registration error\n"; std::cerr << "Signal handler registration error\n";
} }
#endif
} }
} /* end ns Corpus2 */ } /* end ns Corpus2 */
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment