diff --git a/src/daemon/sysdbd.c b/src/daemon/sysdbd.c
index 072807dc84611ec26df49beb157cbe72a67ccf31..2f2afa249505b79bcfc76d10169272e6b7fcef06 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 */
{
printf("SysDBd version "SDB_VERSION_STRING SDB_VERSION_EXTRA", "
"built "BUILD_DATE"\n"
- "using libsysdb verion %s%s\n"
+ "using libsysdb version %s%s\n"
"Copyright (C) 2012 "PACKAGE_MAINTAINER"\n"
"\nThis is free software under the terms of the BSD license, see "
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);
sdb_log(SDB_LOG_INFO, "Shutting down SysDB daemon "SDB_VERSION_STRING
SDB_VERSION_EXTRA" (pid %i)", (int)getpid());
-
- fprintf(stderr, "Store dump:\n");
- sdb_store_dump(stderr);
return 0;
} /* main */