]> ruderich.org/simon Gitweb - ptyas/ptyas.git/blobdiff - ptyas.c
Add missing sigemptyset()
[ptyas/ptyas.git] / ptyas.c
diff --git a/ptyas.c b/ptyas.c
index 9fc7997269a23b756f8a173f399f8bbad771df26..2cd0cd62ac575974b6cf253f28a21cf8231cccc0 100644 (file)
--- a/ptyas.c
+++ b/ptyas.c
@@ -428,6 +428,7 @@ int main(int argc, char **argv) {
     struct sigaction action = {
         .sa_handler = sigchld_handler,
     };
+    sigemptyset(&action.sa_mask);
     if (sigaction(SIGCHLD, &action, NULL) != 0) {
         die("sigaction");
     }