fstab-generator: fix commit 92094b7

This commit is contained in:
Harald Hoyer
2013-03-01 17:05:58 +01:00
parent bf6dcfa6a7
commit 3fb5a0feb4

View File

@@ -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.