1
0
mirror of https://github.com/norohind/hans.git synced 2025-04-22 00:40:28 +03:00

Fixed error on cleanup

This commit is contained in:
Friedrich Schöller 2013-05-13 14:06:41 +02:00
parent 6f534b31e9
commit 0d03ebbefe

@ -92,7 +92,8 @@ int main(int argc, char *argv[])
bool changeEchoId = false;
bool changeEchoSeq = false;
bool verbose = false;
Worker *worker = NULL;
openlog(argv[0], LOG_PERROR, LOG_DAEMON);
int c;
@ -189,7 +190,6 @@ int main(int argc, char *argv[])
signal(SIGTERM, sig_term_handler);
signal(SIGINT, sig_int_handler);
Worker *worker;
try
{
if (isServer)