summaryrefslogtreecommitdiff
path: root/src/core/automount.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-03 16:25:50 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-03 16:25:50 +0200
commitc9bc07646100855ff8193e1e62c52b77327e264d (patch)
tree41a37615bb323ff5c6a5a212209ae12e6ec1b054 /src/core/automount.c
parent61b1477c8107e9b7143be9acf6bf678fa9d0674d (diff)
mount-setup: don't complain if we try to fix the label of a dir beneath a mount but can't due to EROFS
Diffstat (limited to 'src/core/automount.c')
-rw-r--r--src/core/automount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/automount.c b/src/core/automount.c
index 64b6cff72e..697dfa1548 100644
--- a/src/core/automount.c
+++ b/src/core/automount.c
@@ -314,7 +314,7 @@ static int open_dev_autofs(Manager *m) {
if (m->dev_autofs_fd >= 0)
return m->dev_autofs_fd;
- label_fix("/dev/autofs", false);
+ label_fix("/dev/autofs", false, false);
if ((m->dev_autofs_fd = open("/dev/autofs", O_CLOEXEC|O_RDONLY)) < 0) {
log_error("Failed to open /dev/autofs: %s", strerror(errno));