mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix regression introduced yesterday in dockerio module
This fixes a problem introduced in 8ddbc20, I left out the double-dash between the nsenter arguments and the command to run via nsenter.
This commit is contained in:
parent
f0939754a0
commit
b4472ad1b2
1 changed files with 1 additions and 1 deletions
|
@ -1741,7 +1741,7 @@ def _run_wrapper(status, container, func, cmd, *args, **kwargs):
|
|||
return status
|
||||
full_cmd = (
|
||||
'nsenter --target {pid} --mount --uts --ipc --net --pid'
|
||||
' {cmd}'.format(pid=container_pid, cmd=cmd)
|
||||
' -- {cmd}'.format(pid=container_pid, cmd=cmd)
|
||||
)
|
||||
else:
|
||||
raise CommandExecutionError(
|
||||
|
|
Loading…
Add table
Reference in a new issue