From b6713d9a17e97e3671b07e50a12539eea8dc41df Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Sun, 10 Aug 2014 14:10:25 +0000 Subject: [PATCH] tools/mail.py should return a non-zero exit status when invalid command line args are given --- tools/mail.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/mail.py b/tools/mail.py index 37948846..ab54b750 100755 --- a/tools/mail.py +++ b/tools/mail.py @@ -103,4 +103,5 @@ elif sys.argv[1] == "alias" and sys.argv[2] == "remove" and len(sys.argv) == 4: else: print("Invalid command-line arguments.") + sys.exit(1)