about summary refs log tree commit diff stats
path: root/src/local/pager.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/local/pager.nim')
-rw-r--r--src/local/pager.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim
index a6c6c9ad..0e4f738a 100644
--- a/src/local/pager.nim
+++ b/src/local/pager.nim
@@ -1002,7 +1002,7 @@ proc runMailcapWritePipe(pager: Pager, container: Container,
     # parent
     discard close(pipefd[0])
     let fd = pipefd[1]
-    let p = container.redirectToFd(fd, wait = false, cache = false)
+    let p = container.redirectToFd(fd, wait = true, cache = false)
     discard close(fd)
     if needsterminal:
       var x: cint