diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-11-10 23:44:34 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-11-10 23:45:12 +0100 |
commit | f88e6be5ee31ff0e45fabcdedaf26d3be0d4817a (patch) | |
tree | 6eaee98e65ef337eddc31ea60a47ae444c8e2a1d /src/shared/util.c | |
parent | 27e9c5af817147ea1c678769e45e83f2e4b4ae96 (diff) |
strv: rework strv_split_quoted() to use unquote_first_word()
This should make the unquoting scheme a bit less naive.
Diffstat (limited to 'src/shared/util.c')
-rw-r--r-- | src/shared/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/util.c b/src/shared/util.c index f0e0c0dd3d..2f4fa237dd 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -3292,7 +3292,7 @@ char **replace_env_argv(char **argv, char **env) { if (e) { int r; - r = strv_split_quoted(&m, e); + r = strv_split_quoted(&m, e, true); if (r < 0) { ret[k] = NULL; strv_free(ret); |