1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00

nspawn: no need for duplicate checks against EEXIST

This commit is contained in:
Lennart Poettering 2014-02-25 20:33:17 +01:00
parent 7c66bae2ff
commit 9875fd7875

View File

@ -1738,7 +1738,7 @@ static int audit_still_doesnt_work_in_containers(void) {
return log_oom();
r = seccomp_add_secondary_archs(seccomp);
if (r < 0 && r != -EEXIST) {
if (r < 0) {
log_error("Failed to add secondary archs to seccomp filter: %s", strerror(-r));
goto finish;
}