From dda859f84cc2350713ba6effc62c4ea4652afc26 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 26 Jan 2021 15:05:25 +0100 Subject: [PATCH] import-common: fix log message string The trees do look like directory trees, obviously. But they don't like OS trees. --- src/import/import-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/import/import-common.c b/src/import/import-common.c index 3872716f60..c12b2ff073 100644 --- a/src/import/import-common.c +++ b/src/import/import-common.c @@ -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)