chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c66bae
)
nspawn: no need for duplicate checks against EEXIST
author
Lennart Poettering
<lennart@poettering.net>
Tue, 25 Feb 2014 19:33:17 +0000
(20:33 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 26 Feb 2014 01:19:28 +0000
(
02:19
+0100)
src/nspawn/nspawn.c
patch
|
blob
|
history
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index 1a029352453a1af8f7ca97f10a7ac637a88fe452..1fe641b7ca1a1ca28461725f5c5f9636edec147d 100644
(file)
--- 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;
}