From: Lennart Poettering Date: Tue, 25 Feb 2014 19:33:17 +0000 (+0100) Subject: nspawn: no need for duplicate checks against EEXIST X-Git-Tag: v211~204 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9875fd7875d433eea5c6e3319916e1be18722086;p=thirdparty%2Fsystemd.git nspawn: no need for duplicate checks against EEXIST --- diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 1a029352453..1fe641b7ca1 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; }