Krolyxon
Commit 6216bf6

Branches

Refs →

nsxiv6216bf6

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

Author
Bert Münnich
Date
2014-12-01 14:03 +0100
Parent
216ad81
Commit
6216bf6c2d42be63025d29550831d9f4447f4066

+3 −1

2 files changed

  1. M Makefile +1 −1
  2. M main.c +2 −0
M Makefile View
@@ -1,4 +1,4 @@
1−VERSION := git-20141127
1+VERSION := git-20141201
22
33 PREFIX := /usr/local
44 MANPREFIX := $(PREFIX)/share/man
M main.c View
@@ -798,6 +798,8 @@ int main(int argc, char **argv)
798798 struct stat fstats;
799799 r_dir_t dir;
800800
801+ signal(SIGPIPE, SIG_IGN);
802+
801803 parse_options(argc, argv);
802804
803805 if (options->clean_cache) {