fstab-generator: parse_new_root_from_proc_cmdline() don't use "defaults"

Don't use "defaults" as default option string.

"defaults,<anyotheroption>" does not
even work for the mount unit mount options.
This commit is contained in:
Harald Hoyer
2013-03-01 14:58:32 +01:00
parent 5a82a91a99
commit 92094b75fb

View File

@@ -449,7 +449,6 @@ static int parse_new_root_from_proc_cmdline(void) {
return 0;
}
opts = strdup("defaults");
type = strdup("auto");
if (!opts || !type)
return log_oom();