diff options
author | Harald Hoyer <harald@redhat.com> | 2013-03-01 17:05:58 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-03-01 17:07:44 +0100 |
commit | 3fb5a0feb4bbbc670c212acc9e6fcfb46465cc2f (patch) | |
tree | 90568746d7f665ff90ff0db0f2095a01046dd6fd /src | |
parent | bf6dcfa6a79a459239799a21bdcba115d696a006 (diff) |
fstab-generator: fix commit 92094b7
Diffstat (limited to 'src')
-rw-r--r-- | src/fstab-generator/fstab-generator.c | 2 |
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. |