From: Lennart Poettering Date: Tue, 26 Jan 2021 14:05:25 +0000 (+0100) Subject: import-common: fix log message string X-Git-Tag: v248-rc1~249^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dda859f84cc2350713ba6effc62c4ea4652afc26;p=thirdparty%2Fsystemd.git import-common: fix log message string The trees do look like directory trees, obviously. But they don't like OS trees. --- diff --git a/src/import/import-common.c b/src/import/import-common.c index 3872716f602..c12b2ff073c 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)