X-Git-Url: https://ruderich.org/simon/gitweb/?p=ptyas%2Fptyas.git;a=blobdiff_plain;f=ptyas.c;fp=ptyas.c;h=2cd0cd62ac575974b6cf253f28a21cf8231cccc0;hp=9fc7997269a23b756f8a173f399f8bbad771df26;hb=00fc37e8084778674d5c8d5bd48f26177ad17817;hpb=dad601b98c99c7597d7d6e1df85028d884051a90 diff --git a/ptyas.c b/ptyas.c index 9fc7997..2cd0cd6 100644 --- 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"); }