diff options
author | Bert Münnich <be.muennich@gmail.com> | 2014-12-01 14:03:49 +0100 |
---|---|---|
committer | Bert Münnich <be.muennich@gmail.com> | 2014-12-01 14:03:49 +0100 |
commit | 6216bf6c2d42be63025d29550831d9f4447f4066 (patch) | |
tree | 637b2bb47075f1b13d964b9ad4fe59ca4b94c281 /main.c | |
parent | 216ad81b59a7b3a9a4d1f83a26fa2a23ff17a0e0 (diff) | |
download | nsxiv-6216bf6c2d42be63025d29550831d9f4447f4066.tar.zst |
Ignore SIGPIPE, caused by key handler exiting before all files got printed, fixes issue #188
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) { |