spansh.py: now exits with (3) if nothing found
This commit is contained in:
parent
95f5de2377
commit
cf3fb80238
1 changed files with 5 additions and 2 deletions
|
@ -67,5 +67,8 @@ if args.subcommand == "oldstations":
|
|||
else:
|
||||
out = getOldStations(args.count, args.systemlist)
|
||||
|
||||
if out == "":
|
||||
sys.exit(3)
|
||||
else:
|
||||
print(out)
|
||||
sys.exit(0)
|
||||
|
|
Loading…
Reference in a new issue