plugin/cli: return a value in all code paths

Be consistent in all code paths.
This commit is contained in:
Christian Kellner 2020-09-11 12:56:21 +02:00 committed by Tom Gundersen
parent 4eeb998a60
commit 01cf643516

View file

@ -101,7 +101,7 @@ def handle_osbuild_image(options, session, argv):
if (args.wait is None and kl._running_in_bg()) or args.wait is False:
# either running in the background or must not wait by user's
# request. All done.
return
return None
session.logout()
res = kl.watch_tasks(session, [task_id], quiet=options.quiet)