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:
parent
44a87298ba
commit
6ada99e40d
@ -148,7 +148,7 @@ def kas(argv):
|
||||
|
||||
for plugin in getattr(kasplugin, 'plugins', []):
|
||||
if plugin().run(args):
|
||||
return
|
||||
return 0
|
||||
|
||||
parser.print_help()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user