chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tmpfiles: do not fail when copying an empty directory
[elogind.git]
/
src
/
tmpfiles
/
tmpfiles.c
diff --git
a/src/tmpfiles/tmpfiles.c
b/src/tmpfiles/tmpfiles.c
index 97901220e4dd60e86192e0c175da3e4a96356c37..c6c8ce8fee321ba96be65bf2d3dadce33ddd6cc3 100644
(file)
--- a/
src/tmpfiles/tmpfiles.c
+++ b/
src/tmpfiles/tmpfiles.c
@@
-669,7
+669,7
@@
static int create_item(Item *i) {
case COPY_FILES:
r = copy_tree(i->argument, i->path);
if (r < 0) {
- log_error("Failed to copy files
: %s"
, strerror(-r));
+ log_error("Failed to copy files
to %s: %s", i->path
, strerror(-r));
return r;
}