mirror of
https://github.com/systemd/systemd.git
synced 2025-02-03 17:47:28 +03:00
nspawn: use -ENOMEM instead of log_oom() in one case
The function is of the "library" kind and doesn't log ENOMEM in all other cases, hence fix the one outlier.
This commit is contained in:
parent
8d4aa2bb32
commit
48cbe5f80b
@ -132,7 +132,7 @@ int bind_mount_parse(CustomMount **l, unsigned *n, const char *s, bool read_only
|
||||
|
||||
m = custom_mount_add(l, n, CUSTOM_MOUNT_BIND);
|
||||
if (!m)
|
||||
return log_oom();
|
||||
return -ENOMEM;
|
||||
|
||||
m->source = source;
|
||||
m->destination = destination;
|
||||
|
Loading…
x
Reference in New Issue
Block a user