summaryrefslogtreecommitdiff
path: root/src/shared/dev-setup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-03-19 16:23:32 +0100
committerLennart Poettering <lennart@poettering.net>2014-03-19 16:25:11 +0100
commit2b85f4e19cee6a8533208f9fd618a7da6d32ad51 (patch)
tree531e0ce8b7a9a201bdb24634ac64e7f30325b699 /src/shared/dev-setup.c
parentd0ce77344bfb71e50da7296cd0d4f2529a109044 (diff)
core: Beef up PrivateDevices=
Also mount /dev/kdbus, /dev/mqueue and /dev/hugepages into the /dev for namespaced services.
Diffstat (limited to 'src/shared/dev-setup.c')
-rw-r--r--src/shared/dev-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/dev-setup.c b/src/shared/dev-setup.c
index e025e17bbe..1a565d5470 100644
--- a/src/shared/dev-setup.c
+++ b/src/shared/dev-setup.c
@@ -64,7 +64,7 @@ int dev_setup(const char *prefix) {
if (j[0] == '-') {
j++;
- if (access(j, F_OK))
+ if (access(j, F_OK) < 0)
continue;
}