mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
Previous fix used %q which incorrectly go-escaped things. For example: ``` RUN echoo A \& B C ``` would result in the user seeing: ``` INFO[0000] The command '/bin/sh -c echoo A \\& B\tC' returned a non-zero code: 127 ``` Note the double-\ and the \t instead of a tab character The testcase had to double escape things due to logrus getting in the way but I'm going to fix that in another PR because its a change to the UX. Signed-off-by: Doug Davis <dug@us.ibm.com> Upstream-commit: 006c066b6ce0b8b16f7d68b0ef997717bfb35662 Component: engine