From 764e5c04a9d4d5e2382b15abdef671c136e6433b Mon Sep 17 00:00:00 2001 From: Daniel Beer Date: Tue, 31 Aug 2010 09:32:07 +1200 Subject: [PATCH] Allow Ctrl+C to interrupt during initialization. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 0e4cf92..47822be 100644 --- a/main.c +++ b/main.c @@ -449,7 +449,6 @@ int main(int argc, char **argv) if (parse_cmdline_args(argc, argv, &args) < 0) return -1; - ctrlc_init(); opdb_reset(); if (setup_driver(&args) < 0) @@ -467,6 +466,7 @@ int main(int argc, char **argv) } } } else { + ctrlc_init(); reader_loop(); }