summaryrefslogtreecommitdiffstats
path: root/tools/patman/patman.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/patman/patman.py')
-rwxr-xr-xtools/patman/patman.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/patman/patman.py b/tools/patman/patman.py
index c60aa5a1c4..ba5dc91315 100755
--- a/tools/patman/patman.py
+++ b/tools/patman/patman.py
@@ -122,8 +122,7 @@ else:
col = terminal.Color()
if not options.count:
str = 'No commits found to process - please use -c flag'
- print col.Color(col.RED, str)
- sys.exit(1)
+ sys.exit(col.Color(col.RED, str))
# Read the metadata from the commits
if options.count:
OpenPOWER on IntegriCloud