summaryrefslogtreecommitdiff
path: root/src/tmpfiles/tmpfiles.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-06-19 18:57:16 +0200
committerKay Sievers <kay@vrfy.org>2014-06-19 18:58:17 +0200
commit19f3934057d20c63f4c95791312038a41b4666d0 (patch)
tree24f522b8ba108de7dcfeab877ddadeecbe3cfcb7 /src/tmpfiles/tmpfiles.c
parenteca8701ae7adb7a89badc37d4233ea450436f14c (diff)
tmpfiles: do not fail when copying an empty directory
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
-rw-r--r--src/tmpfiles/tmpfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 97901220e4..c6c8ce8fee 100644
--- 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;
}