diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-04-08 20:27:11 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-04-08 20:27:11 +0200 |
commit | 171181bcd64d5a128f6678107d18ffa1c9388b94 (patch) | |
tree | 8ba6b7dafbdaa7a9641de1aa53225e32b6e84ba3 | |
parent | 481b3f9e998d1981e01915bed34f55ea99af1542 (diff) |
fstab-generator: don't continue on OOM
-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 cd1478e54d..57fb7c3321 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"; |