summaryrefslogtreecommitdiff
path: root/src/shared/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-11-10 23:44:34 +0100
committerLennart Poettering <lennart@poettering.net>2014-11-10 23:45:12 +0100
commitf88e6be5ee31ff0e45fabcdedaf26d3be0d4817a (patch)
tree6eaee98e65ef337eddc31ea60a47ae444c8e2a1d /src/shared/util.c
parent27e9c5af817147ea1c678769e45e83f2e4b4ae96 (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.c2
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);