From e6f10cabb7fbdba6fd11bcd109dbe765285c762c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 22 Oct 2015 11:07:03 +0200 Subject: Implement dependents check in drop command Also, add support for commands to return program status. --- bpkg/pkg-update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpkg/pkg-update') diff --git a/bpkg/pkg-update b/bpkg/pkg-update index b34e44a..a266da3 100644 --- a/bpkg/pkg-update +++ b/bpkg/pkg-update @@ -12,10 +12,10 @@ namespace bpkg { - inline void + inline int pkg_update (const pkg_update_options& o, cli::scanner& args) { - pkg_command ("update", o, args); + return pkg_command ("update", o, args); } inline void -- cgit v1.1