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:
Erik Johnson 2015-04-22 12:13:47 -05:00
parent f0939754a0
commit b4472ad1b2

View file

@ -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(