chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
manager: fix the build
[elogind.git]
/
src
/
tmpfiles
/
tmpfiles.c
diff --git
a/src/tmpfiles/tmpfiles.c
b/src/tmpfiles/tmpfiles.c
index 70de06b20b55adb47270381455f94812ae196f19..ed51ec8a7f8dd8fc719045625b701f12a212e6d1 100644
(file)
--- a/
src/tmpfiles/tmpfiles.c
+++ b/
src/tmpfiles/tmpfiles.c
@@
-528,6
+528,8
@@
static int write_one_file(Item *i, const char *path) {
}
}
+ close_nointr_nofail(fd);
+
if (stat(path, &st) < 0) {
log_error("stat(%s) failed: %m", path);
return -errno;