chiark / gitweb /
nspawn: no need for duplicate checks against EEXIST
[elogind.git] / src / nspawn / nspawn.c
index 1a029352453a1af8f7ca97f10a7ac637a88fe452..1fe641b7ca1a1ca28461725f5c5f9636edec147d 100644 (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;
         }