1
0
mirror of https://github.com/gryf/boxpy.git synced 2025-12-18 13:00:17 +01:00

Fix ssh command.

There was a leftover call for changed Run object initialization.
With this commit it's correct now.
This commit is contained in:
2025-05-02 12:42:14 +02:00
parent 189fbab17d
commit 4c3aef3a85

2
box.py
View File

@@ -1635,7 +1635,7 @@ def connect(args):
f'@localhost:{conf.port}']
LOG.debug('Connecting to vm `%s` using command:\n%s', args.name,
' '.join(cmd))
return Run(cmd, False).returncode
return Run(cmd).returncode
def _set_vmstate(name, state, guitype=None, poweroff=False):