aboutsummaryrefslogtreecommitdiff
path: root/butl/pager.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-10 13:19:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-10 13:19:19 +0200
commit550b5257aba507bcce98f6832b8905769a14955d (patch)
tree82804b1d214e94ceb8736f215dd20082614cbc1c /butl/pager.cxx
parent0703f7a1acc9bf9512fdcad43a18a17981c8ca9e (diff)
Add process_run()/process_start() higher-level API on top of class process
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 fe59e5b..003c65c 100644
--- a/butl/pager.cxx
+++ b/butl/pager.cxx
@@ -146,7 +146,7 @@ namespace butl
}
catch (const process_error& e)
{
- if (e.child ())
+ if (e.child)
{
cerr << args[0] << ": unable to execute: " << e << endl;
exit (1);