aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/ui/util/pager.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/ui/util/pager.py')
-rw-r--r--libbe/ui/util/pager.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/libbe/ui/util/pager.py b/libbe/ui/util/pager.py
index 08b1024..e6e6d1b 100644
--- a/libbe/ui/util/pager.py
+++ b/libbe/ui/util/pager.py
@@ -50,7 +50,6 @@ def run_pager(paginate='auto'):
if os.fork() == 0:
# child process
os.close(read_fd)
- os.close(0)
os.dup2(write_fd, 1)
os.close(write_fd)
if hasattr(sys.stderr, 'isatty') and sys.stderr.isatty() == True: