[MOD] Quote-of-the-day changes

This commit is contained in:
LDA 2024-08-15 22:50:19 +02:00
commit a8f1031a79
3 changed files with 42 additions and 10 deletions

View file

@ -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