From 860293a15838ea7ee038d5500f7f0f4e0aa01ea9 Mon Sep 17 00:00:00 2001 From: Stefan de Konink Date: Mon, 6 Oct 2008 23:51:13 +0200 Subject: [PATCH] SIGTERM again --- node/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/main.c b/node/main.c index 4121cef..994351c 100644 --- a/node/main.c +++ b/node/main.c @@ -34,7 +34,7 @@ int main(AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char*argv[]) { /* The client that is going to do the work */ client_callback(NULL, AVAHI_CLIENT_FAILURE, NULL); - signal(SIGUSR2, terminate); + signal(SIGTERM, terminate); /* Run the main loop */ avahi_simple_poll_loop(simple_poll); -- 2.11.4.GIT