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

This commit is contained in:
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 PREFIX := /usr/local
MANPREFIX := $(PREFIX)/share/man MANPREFIX := $(PREFIX)/share/man

2
main.c
View File

@ -798,6 +798,8 @@ int main(int argc, char **argv)
struct stat fstats; struct stat fstats;
r_dir_t dir; r_dir_t dir;
signal(SIGPIPE, SIG_IGN);
parse_options(argc, argv); parse_options(argc, argv);
if (options->clean_cache) { if (options->clean_cache) {