From 8b7c95d1a6a3d640e0193f7ab0811694d62cd593 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sat, 7 May 2022 20:33:08 +0200 Subject: sfeed_curses: improve comment Do not restart the syscall waitpid, explicitly mention not setting SA_RESTART. --- sfeed_curses.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfeed_curses.c b/sfeed_curses.c index d22d16c..a38a25e 100644 --- a/sfeed_curses.c +++ b/sfeed_curses.c @@ -576,7 +576,7 @@ processexit(pid_t pid, int interactive) sa.sa_handler = SIG_IGN; sigaction(SIGINT, &sa, NULL); - sa.sa_flags = 0; /* do not restart SIGTERM: this interrupts waitpid() */ + sa.sa_flags = 0; /* SIGTERM: interrupt waitpid(), no SA_RESTART */ sa.sa_handler = sighandler; sigaction(SIGTERM, &sa, NULL); -- cgit v1.2.3