mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 17:06:39 +09:00
fstab-generator: fix commit 92094b7
This commit is contained in:
@@ -450,7 +450,7 @@ static int parse_new_root_from_proc_cmdline(void) {
|
||||
}
|
||||
|
||||
type = strdup("auto");
|
||||
if (!opts || !type)
|
||||
if (!type)
|
||||
return log_oom();
|
||||
|
||||
/* root= and roofstype= may occur more than once, the last instance should take precedence.
|
||||
|
||||
Reference in New Issue
Block a user