summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-02-25 20:33:17 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-26 02:19:28 +0100
commit9875fd7875d433eea5c6e3319916e1be18722086 (patch)
treebc58bf66beb59f8c48cd17f80a01c7d437c7fb37
parent7c66bae2ff5cb674612f84637cb98f9478ed26a8 (diff)
nspawn: no need for duplicate checks against EEXIST
-rw-r--r--src/nspawn/nspawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 1a02935245..1fe641b7ca 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -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;
}