Ignore SIGPIPE, caused by key handler exiting before all files got printed, fixes issue #188

master
Bert Münnich 2014-12-01 14:03:49 +01:00
parent 216ad81b59
commit 6216bf6c2d
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
VERSION := git-20141127
VERSION := git-20141201
PREFIX := /usr/local
MANPREFIX := $(PREFIX)/share/man

2
main.c
View File

@ -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) {