]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: don't try to extract quotes from option string, glibc doesn't do that either
authorLennart Poettering <lennart@poettering.net>
Sat, 29 Aug 2015 17:43:48 +0000 (19:43 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 29 Aug 2015 17:43:48 +0000 (19:43 +0200)
Follow-up regarding #649.

src/nspawn/nspawn.c

index edf5b9fc5763c42bff6ecc15d6ebee952442a9e6..8039847a721b46fd91c30e73e5ed69d615a661d4 100644 (file)
@@ -1171,7 +1171,7 @@ static int parse_mount_bind_options(const char *options, unsigned long *mount_fl
 
         for (;;) {
                 _cleanup_free_ char *word = NULL;
-                int r = extract_first_word(&p, &word, ",", EXTRACT_QUOTES);
+                int r = extract_first_word(&p, &word, ",", 0);
                 if (r < 0)
                         return log_error_errno(r, "Failed to extract mount option: %m");
                 if (r == 0)