summaryrefslogtreecommitdiff
path: root/src/fstab-generator
diff options
context:
space:
mode:
Diffstat (limited to 'src/fstab-generator')
-rw-r--r--src/fstab-generator/fstab-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c
index d4470f4fb8..af7276daa7 100644
--- a/src/fstab-generator/fstab-generator.c
+++ b/src/fstab-generator/fstab-generator.c
@@ -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.