aboutsummaryrefslogtreecommitdiff
path: root/libbutl/pager.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-08-17 23:14:37 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-08-20 17:37:44 +0300
commit41f958c4cf68541a48b20ceb608afe2308a6e6a7 (patch)
treec4e92865e98b7a3b911d355525e984151b44da22 /libbutl/pager.cxx
parentc00321b94d6b952d59257b4a7373a1199e874d98 (diff)
Add timed_wait() and kill() to process class, change try_wait() signature
Review Backup
Diffstat (limited to 'libbutl/pager.cxx')
-rw-r--r--libbutl/pager.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbutl/pager.cxx b/libbutl/pager.cxx
index 12ad991..3013618 100644
--- a/libbutl/pager.cxx
+++ b/libbutl/pager.cxx
@@ -168,8 +168,7 @@ namespace butl
Sleep (50);
#endif
- bool r;
- if (p_.try_wait (r))
+ if (p_.try_wait ())
{
p_.out_fd.reset ();