From 462298d6e85505ea403ebfdd2a8785365eae7fc6 Mon Sep 17 00:00:00 2001 From: Matteo Cypriani Date: Sat, 20 Aug 2011 18:17:57 +0200 Subject: [PATCH] [Listener] Set the signal flags to 0 --- owlps-listener/owlps-listenerd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/owlps-listener/owlps-listenerd.c b/owlps-listener/owlps-listenerd.c index 4e0e8d9..fd1c547 100644 --- a/owlps-listener/owlps-listenerd.c +++ b/owlps-listener/owlps-listenerd.c @@ -125,6 +125,7 @@ int main(int argc, char *argv[]) owl_run = TRUE ; /* Set up signal handlers */ + action.sa_flags = 0 ; sigemptyset(&action.sa_mask) ; action.sa_handler = sigint_handler ; sigaction(SIGINT, &action, NULL) ;