From 630a58b719a518215e23ca685ce0ce3acb071dbd Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Sat, 15 Aug 2009 12:06:53 +0200 Subject: [PATCH] Fix unittests -u commandline option. --- src/eidps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eidps.c b/src/eidps.c index 1ef6f339a2..1b538a7a80 100644 --- a/src/eidps.c +++ b/src/eidps.c @@ -841,14 +841,14 @@ int main(int argc, char **argv) char *sig_file = NULL; int nfq_id; - sigaddset(&set, SIGINT); + sigaddset(&set, SIGINT); /* registering signals we use */ setup_signal_handler(SIGINT, handle_sigint); setup_signal_handler(SIGTERM, handle_sigterm); setup_signal_handler(SIGHUP, handle_sighup); //pthread_sigmask(SIG_BLOCK, &set, 0); - while ((opt = getopt(argc, argv, "hi:q:r:u:s:")) != -1) { + while ((opt = getopt(argc, argv, "hi:q:r:us:")) != -1) { switch (opt) { case 'h': usage(argv[0]);