From 41f958c4cf68541a48b20ceb608afe2308a6e6a7 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 17 Aug 2018 23:14:37 +0300 Subject: Add timed_wait() and kill() to process class, change try_wait() signature Review Backup --- libbutl/pager.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libbutl/pager.cxx') 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 (); -- cgit v1.1