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