summaryrefslogtreecommitdiff
path: root/src/tmpfiles.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-25 01:47:31 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-25 01:47:31 +0100
commitc904f64d84db8c4eebedf210ba10893f19ba05ed (patch)
tree4c3d73acb9c6aa32d073107b8dd262a8c48a4334 /src/tmpfiles.c
parent8e20e31a65ec9e637abf3821087946e9160001ac (diff)
label: udev might be making changes in /dev while we iterate through it
Also, there are most likely dead symlinks in there, so let's ignore ENOENT when we relabel. https://bugzilla.redhat.com/show_bug.cgi?id=680169
Diffstat (limited to 'src/tmpfiles.c')
-rw-r--r--src/tmpfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles.c b/src/tmpfiles.c
index 917747a4a4..0302262394 100644
--- a/src/tmpfiles.c
+++ b/src/tmpfiles.c
@@ -507,7 +507,7 @@ static int create_item(Item *i) {
break;
}
- if ((r = label_fix(i->path)) < 0)
+ if ((r = label_fix(i->path, false)) < 0)
goto finish;
log_debug("%s created successfully.", i->path);