Permalink
Browse files

util/ssh: fix bad argument to subprocess wait()

This is incorrect and fails with python3.7.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  • Loading branch information...
jluebbe committed Jan 4, 2019
1 parent 87850ba commit 6e1581fd37ec24a9484feb8ca8c718eb41c6d145
Showing with 1 addition and 1 deletion.
  1. +1 −1 labgrid/util/ssh.py
@@ -294,7 +294,7 @@ def _check_external_master(self):
stderr=subprocess.STDOUT,
)
stdout, _ = proc.communicate(timeout=60)
check = proc.wait(args)
check = proc.wait()
if check == 0:
self._logger.debug("Found existing control socket")
return True

0 comments on commit 6e1581f

Please sign in to comment.