Index: gcl.py |
diff --git a/gcl.py b/gcl.py |
index ddcb205fefb1aa829eac20e46e2e122cda331c54..7223585ada15740bc948c7f7ef303f95afa0e5e8 100755 |
--- a/gcl.py |
+++ b/gcl.py |
@@ -1040,7 +1040,7 @@ def DoPresubmitChecks(change_info, committing, may_prompt): |
input_stream=sys.stdin, |
default_presubmit=root_presubmit, |
may_prompt=may_prompt) |
- if not result: |
+ if not result and may_prompt: |
print "\nPresubmit errors, can't continue (use --no_presubmit to bypass)" |
return result |