From 62736bf43a528f472dd01c87fa1d4ac247e07043 Mon Sep 17 00:00:00 2001 From: sin Date: Tue, 3 Nov 2015 17:48:39 +0000 Subject: Ignore SIGINT to allow returning back to noice when we kill the screensaver Use 'q' to quit. --- noice.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'noice.c') diff --git a/noice.c b/noice.c index 18577d3..ef866d0 100644 --- a/noice.c +++ b/noice.c @@ -918,6 +918,8 @@ main(int argc, char *argv[]) ipath = "/"; } + signal(SIGINT, SIG_IGN); + /* Test initial path */ if (canopendir(ipath) == 0) printerr(1, ipath); -- cgit v1.2.3-70-g09d2