Ignore SIGPIPE, caused by key handler exiting before all files got printed, fixes issue #188
This commit is contained in:
parent
216ad81b59
commit
6216bf6c2d
2
Makefile
2
Makefile
@ -1,4 +1,4 @@
|
||||
VERSION := git-20141127
|
||||
VERSION := git-20141201
|
||||
|
||||
PREFIX := /usr/local
|
||||
MANPREFIX := $(PREFIX)/share/man
|
||||
|
2
main.c
2
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user