mirror of https://github.com/cowrie/cowrie.git
different exit code for no arguments
This commit is contained in:
parent
22b20c8126
commit
d4206cd31c
|
@ -112,7 +112,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
if len(args)<1:
|
if len(args)<1:
|
||||||
help()
|
help()
|
||||||
sys.exit(1)
|
sys.exit(2)
|
||||||
|
|
||||||
for logfile in args:
|
for logfile in args:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue