aboutsummaryrefslogtreecommitdiff
path: root/bpkg/checksum.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-10 17:46:51 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-10 17:46:51 +0300
commit260729bd34c4b71e133a6b86b7302bef4a424ea2 (patch)
tree18fa545a5a62062bd75b9b84d1c373d1fc95db92 /bpkg/checksum.cxx
parente628a1463bef2d4a6c00d2b1f8ddb8affe4f6427 (diff)
Adapt to process_error change
Diffstat (limited to 'bpkg/checksum.cxx')
-rw-r--r--bpkg/checksum.cxx8
1 files changed, 4 insertions, 4 deletions
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 ();