mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
core/execute: simplify compile_bind_mounts()
It is not necessary to re-assign error code.
This commit is contained in:
parent
30ffb010ff
commit
a635a7aec6
@ -2258,10 +2258,8 @@ static int compile_bind_mounts(
|
||||
}
|
||||
|
||||
r = strv_consume(&empty_directories, private_root);
|
||||
if (r < 0) {
|
||||
r = -ENOMEM;
|
||||
if (r < 0)
|
||||
goto finish;
|
||||
}
|
||||
}
|
||||
|
||||
STRV_FOREACH(suffix, context->directories[t].paths) {
|
||||
|
Loading…
Reference in New Issue
Block a user