kas: Don't return None from kas()

The return value of kas() is used as the argument to sys.exit() so it
should be 0 to report successful completion.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Paul Barker 2020-05-19 10:10:21 +02:00 committed by Jan Kiszka
parent 44a87298ba
commit 6ada99e40d

View File

@ -148,7 +148,7 @@ def kas(argv):
for plugin in getattr(kasplugin, 'plugins', []):
if plugin().run(args):
return
return 0
parser.print_help()