--- src/fedpkg/__main__.py | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/fedpkg/__main__.py b/src/fedpkg/__main__.py index c64f61e..4650040 100644 --- a/src/fedpkg/__main__.py +++ b/src/fedpkg/__main__.py @@ -70,6 +70,8 @@ def main(): pass except Exception, e: log.error('Could not execute %s: %s' % (client.args.command.__name__, e)) + if client.args.v: + raise sys.exit(1)
if __name__ == "__main__":