chiark / gitweb /
util: rework /proc/cmdline parser to use unquote_first_word()
[elogind.git] / src / shared / condition.c
index ae23599410600b32461478bdc8eb5b9512b21d92..c5a3caa4dbbe2b0e318d0bcf1850da70a433e042 100644 (file)
@@ -101,7 +101,7 @@ static int condition_test_kernel_command_line(Condition *c) {
                 _cleanup_free_ char *word = NULL;
                 bool found;
 
-                r = unquote_first_word(&p, &word);
+                r = unquote_first_word(&p, &word, true);
                 if (r < 0)
                         return r;
                 if (r == 0)