]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
import-common: fix log message string
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Jan 2021 14:05:25 +0000 (15:05 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Jan 2021 16:31:31 +0000 (17:31 +0100)
The trees do look like directory trees, obviously. But they don't like
OS trees.

src/import/import-common.c

index 3872716f602660596e14ae586392223fd709e416..c12b2ff073cb37f604a0c8bb697282e13648c4c5 100644 (file)
@@ -240,14 +240,14 @@ int import_mangle_os_tree(const char *path) {
                 if (errno != 0)
                         return log_error_errno(errno, "Failed to iterate through directory '%s': %m", path);
 
-                log_debug("Directory '%s' does not look like a directory tree, and has multiple children, leaving as it is.", path);
+                log_debug("Directory '%s' does not look like an OS tree, and has multiple children, leaving as it is.", path);
                 return 0;
         }
 
         joined = prefix_roota(path, child);
         r = path_is_os_tree(joined);
         if (r == -ENOTDIR) {
-                log_debug("Directory '%s' does not look like a directory tree, and contains a single regular file only, leaving as it is.", path);
+                log_debug("Directory '%s' does not look like an OS tree, and contains a single regular file only, leaving as it is.", path);
                 return 0;
         }
         if (r < 0)