aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/archive.cxx2
-rw-r--r--bpkg/checksum.cxx8
-rw-r--r--bpkg/fetch.cxx8
-rw-r--r--bpkg/openssl.cxx2
-rw-r--r--bpkg/pkg-unpack.cxx2
-rw-r--r--bpkg/satisfaction.cxx2
-rw-r--r--bpkg/utility.cxx2
7 files changed, 13 insertions, 13 deletions
diff --git a/bpkg/archive.cxx b/bpkg/archive.cxx
index 3961aba..4e12e28 100644
--- a/bpkg/archive.cxx
+++ b/bpkg/archive.cxx
@@ -80,7 +80,7 @@ namespace bpkg
{
error << "unable to execute " << args[0] << ": " << e;
- if (e.child ())
+ if (e.child)
exit (1);
throw failed ();
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 ();
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 ();
diff --git a/bpkg/openssl.cxx b/bpkg/openssl.cxx
index 3268cf8..01f07a0 100644
--- a/bpkg/openssl.cxx
+++ b/bpkg/openssl.cxx
@@ -51,7 +51,7 @@ namespace bpkg
{
error << "unable to execute " << args[0] << ": " << e;
- if (e.child ())
+ if (e.child)
exit (1);
throw failed ();
diff --git a/bpkg/pkg-unpack.cxx b/bpkg/pkg-unpack.cxx
index 2d9475e..d4a255c 100644
--- a/bpkg/pkg-unpack.cxx
+++ b/bpkg/pkg-unpack.cxx
@@ -208,7 +208,7 @@ namespace bpkg
{
error << "unable to execute " << args[0] << ": " << e;
- if (e.child ())
+ if (e.child)
exit (1);
throw failed ();
diff --git a/bpkg/satisfaction.cxx b/bpkg/satisfaction.cxx
index 7c1541a..6958328 100644
--- a/bpkg/satisfaction.cxx
+++ b/bpkg/satisfaction.cxx
@@ -154,7 +154,7 @@ namespace bpkg
{
error << "unable to execute " << args[0] << ": " << e;
- if (e.child ())
+ if (e.child)
exit (1);
throw failed ();
diff --git a/bpkg/utility.cxx b/bpkg/utility.cxx
index 234304e..95e47ba 100644
--- a/bpkg/utility.cxx
+++ b/bpkg/utility.cxx
@@ -185,7 +185,7 @@ namespace bpkg
{
error << "unable to execute " << args[0] << ": " << e;
- if (e.child ())
+ if (e.child)
exit (1);
throw failed ();