diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-10 13:19:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-10 13:19:19 +0200 |
commit | 550b5257aba507bcce98f6832b8905769a14955d (patch) | |
tree | 82804b1d214e94ceb8736f215dd20082614cbc1c /butl/pager.cxx | |
parent | 0703f7a1acc9bf9512fdcad43a18a17981c8ca9e (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.cxx | 2 |
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); |