aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-verify.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-07-21 21:27:07 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-08-04 15:22:05 +0300
commitdbb56f2986eefd0ffb1350ab1ff0cb47ad5e7918 (patch)
tree74591d23b4355d7f72898547b2fa7bd61c5f0318 /bpkg/pkg-verify.cxx
parent6851f0c2d06e2b22ff376d8f0912d1e9d7893a89 (diff)
Add --no-private-config option for pkg-build and --no-{host,build2}-config options for cfg-create
Diffstat (limited to 'bpkg/pkg-verify.cxx')
-rw-r--r--bpkg/pkg-verify.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/pkg-verify.cxx b/bpkg/pkg-verify.cxx
index 38b4d68..03f854e 100644
--- a/bpkg/pkg-verify.cxx
+++ b/bpkg/pkg-verify.cxx
@@ -247,9 +247,9 @@ namespace bpkg
return 0;
}
- catch (const failed&)
+ catch (const failed& e)
{
- return 1;
+ return e.code;
}
}
}