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/checksum.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bpkg/checksum.cxx') diff --git a/bpkg/checksum.cxx b/bpkg/checksum.cxx index 75f1375..b02ad1c 100644 --- a/bpkg/checksum.cxx +++ b/bpkg/checksum.cxx @@ -57,7 +57,7 @@ namespace bpkg } catch (const process_error& e) { - if (e.child ()) + if (e.child) exit (1); // Fall through. @@ -123,7 +123,7 @@ namespace bpkg } catch (const process_error& e) { - if (e.child ()) + if (e.child) exit (1); // Fall through. @@ -189,7 +189,7 @@ namespace bpkg } catch (const process_error& e) { - if (e.child ()) + if (e.child) exit (1); // Fall through. @@ -325,7 +325,7 @@ namespace bpkg { error << "unable to execute " << sha256_path << ": " << e; - if (e.child ()) + if (e.child) exit (1); throw failed (); -- cgit v1.1