summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3d006d6)
raw | patch | inline | side by side (parent: 3d006d6)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 22 Oct 2013 07:10:38 +0000 (09:10 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 22 Oct 2013 07:10:38 +0000 (09:10 +0200) |
src/daemon/sysdbd.c | patch | blob | history |
diff --git a/src/daemon/sysdbd.c b/src/daemon/sysdbd.c
index 072807dc84611ec26df49beb157cbe72a67ccf31..e2309224d57243bd9dd7d7bc19f7fde1841c8ed9 100644 (file)
--- a/src/daemon/sysdbd.c
+++ b/src/daemon/sysdbd.c
static void
sigintterm_handler(int __attribute__((unused)) signo)
{
- plugin_main_loop.do_loop = 0;
frontend_main_loop.do_loop = 0;
} /* sigintterm_handler */
if (i >= listen_addresses_num)
sdb_fe_sock_listen_and_serve(sock, &frontend_main_loop);
+ sdb_log(SDB_LOG_INFO, "Waiting for backend thread to terminate");
plugin_main_loop.do_loop = 0;
pthread_join(backend_thread, NULL);
sdb_fe_sock_destroy(sock);