mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
fstab-generator: update cache in fstab_enabled_full() based on the parsed result of fstab=
Currently, fstab-generator does not use fstab file parsers in fstab-util.c. So, this is not necessary. Just for a possible optimization in the case the parsers used in the future.
This commit is contained in:
@@ -1367,7 +1367,7 @@ static int parse_proc_cmdline_item(const char *key, const char *value, void *dat
|
||||
if (r < 0)
|
||||
log_warning("Failed to parse fstab switch %s. Ignoring.", value);
|
||||
else
|
||||
arg_fstab_enabled = r;
|
||||
arg_fstab_enabled = fstab_set_enabled(r);
|
||||
|
||||
} else if (streq(key, "root")) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user