Skip to content

Commit

Permalink
Fix sudo shim causing incorrect argument parsing (play-with-docker#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmakarov authored and marcosnils committed Nov 12, 2018
1 parent 857bbe3 commit a20a7c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dockerfiles/dind/sudo
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

# This is shim to help with the case were pasted commands from a readme assume you are not root. Since this isto be run by root, it should effectively be a dummy command that allows the parameters to pass through.

exec $@
exec "$@"
2 changes: 1 addition & 1 deletion dockerfiles/pwm/sudo
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

# This is shim to help with the case were pasted commands from a readme assume you are not root. Since this isto be run by root, it should effectively be a dummy command that allows the parameters to pass through.

exec $@
exec "$@"

0 comments on commit a20a7c6

Please sign in to comment.