diff options
author | Valentin Rothberg <vrothberg@suse.com> | 2018-11-16 16:05:07 +0100 |
---|---|---|
committer | Valentin Rothberg <vrothberg@suse.com> | 2018-11-16 16:05:07 +0100 |
commit | 780b790415f94ea41ef70bd97828ecb92a4f06d1 (patch) | |
tree | 57c9884a23aedfc95ddb05fccc456d6b791b24e9 /vendor/github.com/google/shlex/README | |
parent | 43de95df34a88d2ded4b62ab0c1763a33acac07e (diff) | |
download | podman-780b790415f94ea41ef70bd97828ecb92a4f06d1.tar.gz podman-780b790415f94ea41ef70bd97828ecb92a4f06d1.tar.bz2 podman-780b790415f94ea41ef70bd97828ecb92a4f06d1.zip |
runlabel: use shlex for splitting commands
Use github.com/google/shlex for splitting commands instead of splitting
at whitespaces. This way, we avoid accidentally splitting single string
arguments into mutliple ones.
Signed-off-by: Valentin Rothberg <vrothberg@suse.com>
Diffstat (limited to 'vendor/github.com/google/shlex/README')
-rw-r--r-- | vendor/github.com/google/shlex/README | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/google/shlex/README b/vendor/github.com/google/shlex/README new file mode 100644 index 000000000..c86bcc066 --- /dev/null +++ b/vendor/github.com/google/shlex/README @@ -0,0 +1,2 @@ +go-shlex is a simple lexer for go that supports shell-style quoting, +commenting, and escaping. |