1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-22 02:17:26 +00:00

tools/mail.py should return a non-zero exit status when invalid command line args are given

This commit is contained in:
Joshua Tauberer 2014-08-10 14:10:25 +00:00
parent 58e300e113
commit b6713d9a17

View File

@ -103,4 +103,5 @@ elif sys.argv[1] == "alias" and sys.argv[2] == "remove" and len(sys.argv) == 4:
else: else:
print("Invalid command-line arguments.") print("Invalid command-line arguments.")
sys.exit(1)