Skip to content

Commit de5df86

Browse files
committed
IPMIPowerPort: fix to split extra args into array
1 parent 8161963 commit de5df86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

labgrid/driver/powerdriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ def _ipmi_power(self, cmd):
504504
runstr += f"-p {self.port.password} {cmd}"
505505
runstr = runstr.split(' ')
506506
if len(self.port.args) > 0:
507-
runstr.append(self.port.args)
507+
runstr.extend(self.port.args.split(' '))
508508
return subprocess.run(runstr, capture_output=True)
509509

510510
def _ipmi_cmd(self, cmd):

0 commit comments

Comments
 (0)