mirror of
https://github.com/markqvist/rnsh.git
synced 2025-07-26 16:35:20 -04:00
Add tests for and fix #14
This commit is contained in:
parent
a07ce53bf9
commit
458a2391df
5 changed files with 82 additions and 8 deletions
rnsh
|
@ -391,7 +391,7 @@ async def _initiate(configdir: str, identitypath: str, verbosity: int, quietness
|
|||
timeout=timeout,
|
||||
)
|
||||
|
||||
if not _link or _link.status != RNS.Link.ACTIVE:
|
||||
if not _link or _link.status not in [RNS.Link.ACTIVE, RNS.Link.PENDING]:
|
||||
_finished.set()
|
||||
return 255
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue