aboutsummaryrefslogtreecommitdiff
path: root/bpkg/fetch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/fetch.cxx')
-rw-r--r--bpkg/fetch.cxx8
1 files changed, 4 insertions, 4 deletions
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 ();