From 260729bd34c4b71e133a6b86b7302bef4a424ea2 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 10 Apr 2017 17:46:51 +0300 Subject: Adapt to process_error change --- bpkg/fetch.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bpkg/fetch.cxx') diff --git a/bpkg/fetch.cxx b/bpkg/fetch.cxx index 8a33f07..2c87f6b 100644 --- a/bpkg/fetch.cxx +++ b/bpkg/fetch.cxx @@ -88,7 +88,7 @@ namespace bpkg } catch (const process_error& e) { - if (e.child ()) + if (e.child) exit (1); return false; @@ -207,7 +207,7 @@ namespace bpkg } catch (const process_error& e) { - if (e.child ()) + if (e.child) exit (1); // Fall through. @@ -322,7 +322,7 @@ namespace bpkg } catch (const process_error& e) { - if (e.child ()) + if (e.child) exit (1); // Fall through. @@ -500,7 +500,7 @@ namespace bpkg { error << "unable to execute " << fetch_path << ": " << e; - if (e.child ()) + if (e.child) exit (1); throw failed (); -- cgit v1.1