[systemd-commits] src/fstab-generator
Lennart Poettering
lennart at kemper.freedesktop.org
Wed Apr 8 11:27:18 PDT 2015
src/fstab-generator/fstab-generator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 171181bcd64d5a128f6678107d18ffa1c9388b94
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Apr 8 20:27:11 2015 +0200
fstab-generator: don't continue on OOM
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c
index cd1478e..57fb7c3 100644
--- a/src/fstab-generator/fstab-generator.c
+++ b/src/fstab-generator/fstab-generator.c
@@ -404,7 +404,7 @@ static int add_root_mount(void) {
what = fstab_node_to_udev_node(arg_root_what);
if (!what)
- log_oom();
+ return log_oom();
if (!arg_root_options)
opts = arg_root_rw > 0 ? "rw" : "ro";
More information about the systemd-commits
mailing list