mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-27 11:30:06 +00:00
Fix potential delay in ssh-agent start
Be consistent with other check_output calls to allow eventlet to properly background the process.
This commit is contained in:
parent
7ccaa245b6
commit
deb5c2eed8
@ -43,7 +43,7 @@ def assure_agent():
|
||||
if agent_pid is None:
|
||||
try:
|
||||
agent_starting = True
|
||||
sai = subprocess.check_output(['ssh-agent'])
|
||||
sai = subprocess.check_output(['ssh-agent'], timeout=86400)
|
||||
for line in sai.split(b'\n'):
|
||||
if b';' not in line:
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user