diff --git a/subcmds/upload.py b/subcmds/upload.py index 3dd9fd25..a886af93 100644 --- a/subcmds/upload.py +++ b/subcmds/upload.py @@ -596,7 +596,7 @@ Gerrit Code Review: https://www.gerritcodereview.com/ print('\nWARNING: pre-upload hooks failed, but uploading anyways.', file=sys.stderr) else: - return + return 1 if opt.reviewers: reviewers = _SplitEmails(opt.reviewers)