aboutsummaryrefslogtreecommitdiff
path: root/butl/pager.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-12-29 03:32:05 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-01-05 15:53:29 +0300
commitc61d6e14c08fec7658dbdc33c16b5feeece08fbf (patch)
treef090dbd27fadabebf0d685ad6bd3f9a899b18fa7 /butl/pager.cxx
parent0e8c95a08f87922575c9f400399258dba54df1ca (diff)
Add process_exit
Diffstat (limited to 'butl/pager.cxx')
-rw-r--r--butl/pager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/butl/pager.cxx b/butl/pager.cxx
index a03582c..d281d5c 100644
--- a/butl/pager.cxx
+++ b/butl/pager.cxx
@@ -32,7 +32,7 @@ namespace butl
// Create successfully exited process. Will "wait" for it if fallback to
// non-interactive execution path.
//
- : p_ (optional<process::status_type> (0))
+ : p_ (process_exit (0))
{
// If we are using the default pager, try to get the terminal width
// so that we can center the output.