logout before watching tasks
This commit is contained in:
parent
2a982af119
commit
693c98b87d
1 changed files with 2 additions and 0 deletions
2
cli/koji
2
cli/koji
|
|
@ -664,6 +664,7 @@ def handle_build(options, session, args):
|
|||
if _running_in_bg() or build_opts.nowait:
|
||||
return
|
||||
else:
|
||||
session.logout()
|
||||
return watch_tasks(session,[task_id])
|
||||
|
||||
def handle_chain_build(options, session, args):
|
||||
|
|
@ -751,6 +752,7 @@ def handle_chain_build(options, session, args):
|
|||
if _running_in_bg() or build_opts.nowait:
|
||||
return
|
||||
else:
|
||||
session.logout()
|
||||
return watch_tasks(session,[task_id])
|
||||
|
||||
def handle_resubmit(options, session, args):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue