X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=main.cpp;h=e8fa4e822ce720be53dc29f03de40ed31b1addc6;hb=03569c70282f68a4bc9b259fbf5b7a2b4c5594b3;hp=64cab64f40c7def8dd7ce744d29b2cd95a9fbef1;hpb=e4637f55fbd4671089b6700fdd17c3110587436f;p=cubemap 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;