X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=main.cpp;h=e8fa4e822ce720be53dc29f03de40ed31b1addc6;hp=64cab64f40c7def8dd7ce744d29b2cd95a9fbef1;hb=c1877e6bdecc88317a97c172f6bd390f249afef1;hpb=14aa32dce539ac645ba10e8c488fb5a435ffa314 diff --git a/main.cpp b/main.cpp index 64cab64..e8fa4e8 100644 --- a/main.cpp +++ b/main.cpp @@ -214,6 +214,7 @@ bool dry_run_config(const std::string &argv0, const std::string &config_filename int main(int argc, char **argv) { signal(SIGHUP, hup); + signal(SIGPIPE, SIG_IGN); // Parse options. int state_fd = -1;