diff options
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index e846995f76bb..5a869ead610d 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -413,6 +413,7 @@ static void restoreSIGPIPE() struct sigaction act, oact; act.sa_handler = SIG_DFL; act.sa_flags = 0; + sigemptyset(&act.sa_mask); if (sigaction(SIGPIPE, &act, &oact)) throw SysError("resetting SIGPIPE"); } |