chiark / gitweb /
strv: rework strv_split_quoted() to use unquote_first_word()
[elogind.git] / src / shared / util.c
index f0e0c0dd3d0c6f1ea9583a0ac49d361034aae0aa..2f4fa237dd1cb599314dc1d429fc73d79b58d4a4 100644 (file)
@@ -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);