summaryrefslogtreecommitdiffstats
path: root/src
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 /src
parentseccomp: we should control NO_NEW_PRIVS on our own, not let seccomp do this f... (diff)
downloadsystemd-9875fd7875d433eea5c6e3319916e1be18722086.tar.xz
systemd-9875fd7875d433eea5c6e3319916e1be18722086.zip
nspawn: no need for duplicate checks against EEXIST
Diffstat (limited to 'src')
-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;
}