mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 18:25:10 +00:00
[MOD] Quote-of-the-day changes
This commit is contained in:
parent
7c228fcc3d
commit
a8f1031a79
3 changed files with 42 additions and 10 deletions
|
|
@ -40,6 +40,7 @@ ParseeInitialiseSignals(HttpServer *s, pthread_t xmpp, XMPPComponent *j)
|
|||
#define Register(act) (sigaction(act, &sa, NULL) >= 0)
|
||||
if (!Register(SIGTERM) || !Register(SIGINT))
|
||||
{
|
||||
Log(LOG_ERR, "Couldn't register signals...");
|
||||
return false;
|
||||
}
|
||||
#undef Register
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue