mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
nspawn: don't try to extract quotes from option string, glibc doesn't do that either
Follow-up regarding #649.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user