diff options
Diffstat (limited to '')
-rw-r--r-- | ui.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.c b/ui.c index 1b21cc5..8f8de1e 100644 --- a/ui.c +++ b/ui.c @@ -567,6 +567,7 @@ static void notify(uint id, const char *str) { if (pid < 0) err(EX_OSERR, "fork"); if (pid) return; + setsid(); close(STDIN_FILENO); dup2(utilPipe[1], STDOUT_FILENO); dup2(utilPipe[1], STDERR_FILENO); |