mirror of
https://github.com/docker/cli.git
synced 2026-09-01 02:24:23 -05:00
52da2e9683c07357a65e64d0d636788c9e673d37
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
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%