Skip to content

Commit

Permalink
Revert "temp move raise to child"
Browse files Browse the repository at this point in the history
This reverts commit 1f44905.
  • Loading branch information
nmisch committed May 20, 2024
1 parent 41766de commit 2740450
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pending_signal_c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ int main(int argc, char **argv)
sigemptyset(&set);
sigaddset(&set, SIGTERM);
sigprocmask(SIG_BLOCK, &set, NULL);
raise(SIGTERM);

execv(argv[0], cmd);
return 90;
Expand All @@ -43,8 +44,6 @@ int main(int argc, char **argv)
{
char msg[] = "reached write()\n";

raise(SIGTERM); /* temporary move, header comment not for this */

#if REBLOCK
sigemptyset(&set);
sigaddset(&set, SIGTERM);
Expand Down

0 comments on commit 2740450

Please sign in to comment.