From 6216bf6c2d42be63025d29550831d9f4447f4066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Mon, 1 Dec 2014 14:03:49 +0100 Subject: Ignore SIGPIPE, caused by key handler exiting before all files got printed, fixes issue #188 --- main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index 57798c4..904a567 100644 --- a/main.c +++ b/main.c @@ -798,6 +798,8 @@ int main(int argc, char **argv) struct stat fstats; r_dir_t dir; + signal(SIGPIPE, SIG_IGN); + parse_options(argc, argv); if (options->clean_cache) { -- cgit v1.2.3