mirror of
https://github.com/systemd/systemd.git
synced 2025-02-18 21:57:48 +03:00
fstab-generator: don't continue on OOM
This commit is contained in:
parent
481b3f9e99
commit
171181bcd6
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user