summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-03-01 14:58:32 +0100
committerHarald Hoyer <harald@redhat.com>2013-03-01 15:05:28 +0100
commit92094b75fb8629492cddab1677a29830a7d96811 (patch)
tree33603f1b874996f7fe31dbec89fa14b76168e7f1
parent5a82a91a9904059c174232f1a534a160b5f61c0e (diff)
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.
-rw-r--r--src/fstab-generator/fstab-generator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c
index 9db4123530..d4470f4fb8 100644
--- a/src/fstab-generator/fstab-generator.c
+++ b/src/fstab-generator/fstab-generator.c
@@ -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();