diff options
Diffstat (limited to 'src/server.c')
-rw-r--r-- | src/server.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server.c b/src/server.c index 58833a1..33610f3 100644 --- a/src/server.c +++ b/src/server.c @@ -385,6 +385,10 @@ int server_main(struct server *server) { int ret = 0; + ret = signal_install_global_handler(); + if (ret < 0) + return ret; + while (!global_stop_flag) { log("Waiting for new connections\n"); |