[systemd-commits] src/fstab-generator
Harald Hoyer
harald at kemper.freedesktop.org
Fri Mar 1 08:09:43 PST 2013
src/fstab-generator/fstab-generator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3fb5a0feb4bbbc670c212acc9e6fcfb46465cc2f
Author: Harald Hoyer <harald at redhat.com>
Date: Fri Mar 1 17:05:58 2013 +0100
fstab-generator: fix commit 92094b7
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c
index d4470f4..af7276d 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.
More information about the systemd-commits
mailing list