mirror of
https://opendev.org/x/pyghmi
synced 2025-07-06 04:25:36 +00:00
Abandon a broken session
init can wait forever if a session is going to be broken. Change-Id: I233e0bffdac58eed7644db0cd17477d45f8ace15
This commit is contained in:
@ -468,7 +468,7 @@ class Session(object):
|
||||
if hasattr(self, 'initialized'):
|
||||
# new found an existing session, do not corrupt it
|
||||
if onlogon is None:
|
||||
while self.logging:
|
||||
while self.logging and not self.broken:
|
||||
Session.wait_for_rsp()
|
||||
else:
|
||||
if self.logging:
|
||||
|
Reference in New Issue
Block a user