chiark / gitweb /
tmpfiles: do not fail when copying an empty directory
[elogind.git] / src / tmpfiles / tmpfiles.c
index 97901220e4dd60e86192e0c175da3e4a96356c37..c6c8ce8fee321ba96be65bf2d3dadce33ddd6cc3 100644 (file)
@@ -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;
                 }