nsxiv6216bf6
Ignore SIGPIPE, caused by key handler exiting before all files got printed, fixes issue #188
+3 −1
2 files changed
| @@ -1,4 +1,4 @@ | |||
| 1 | − | VERSION := git-20141127 | |
| 1 | + | VERSION := git-20141201 | |
| 2 | 2 | ||
| 3 | 3 | PREFIX := /usr/local | |
| 4 | 4 | MANPREFIX := $(PREFIX)/share/man | |
| @@ -798,6 +798,8 @@ int main(int argc, char **argv) | |||
| 798 | 798 | struct stat fstats; | |
| 799 | 799 | r_dir_t dir; | |
| 800 | 800 | ||
| 801 | + | signal(SIGPIPE, SIG_IGN); | |
| 802 | + | ||
| 801 | 803 | parse_options(argc, argv); | |
| 802 | 804 | ||
| 803 | 805 | if (options->clean_cache) { | |