diff options
Diffstat (limited to 'src/shared/pager.c')
-rw-r--r-- | src/shared/pager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/pager.c b/src/shared/pager.c index 526cb7c6c9..f75ef62d2d 100644 --- a/src/shared/pager.c +++ b/src/shared/pager.c @@ -282,7 +282,7 @@ void pager_close(void) { stdout_redirected = stderr_redirected = false; (void) kill(pager_pid, SIGCONT); - (void) wait_for_terminate(pager_pid, NULL); + (void) wait_for_terminate(TAKE_PID(pager_pid), NULL); pager_pid = 0; } |