fstab-generator: don't continue on OOM

This commit is contained in:
Lennart Poettering 2015-04-08 20:27:11 +02:00
parent 481b3f9e99
commit 171181bcd6
1 changed files with 1 additions and 1 deletions

View File

@ -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";