diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-08-18 11:28:46 +0200 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2020-08-20 12:21:49 -0400 |
commit | b5b782f2584e59534ae1d66551de0e04fc3c0038 (patch) | |
tree | 7b73bd343e8341c5ca4bfcaff7109e0b104e79df /libpod/image/pull.go | |
parent | 402d002184fa33b8aa7bfe91a83b04ba80425e28 (diff) | |
download | podman-b5b782f2584e59534ae1d66551de0e04fc3c0038.tar.gz podman-b5b782f2584e59534ae1d66551de0e04fc3c0038.tar.bz2 podman-b5b782f2584e59534ae1d66551de0e04fc3c0038.zip |
generate systemd: quote arguments with whitespace
Make sure that arguments with whitespace are properly quoted so they are
interpreted as one (and not multiple ones) by systemd.
Now `-e tz="america/new york"` will be generated as `-e "tz=america/new york"`.
The quotes are moving but the argument is still correct.
Fixes: #7285
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'libpod/image/pull.go')
0 files changed, 0 insertions, 0 deletions