]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
conf-files: include the expected suffix in the 'unexpected suffix' debug message. main
authorAlexis-Emmanuel Haeringer <1693983+4lex11s@users.noreply.github.com>
Thu, 11 Dec 2025 21:36:23 +0000 (22:36 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 13 Dec 2025 10:46:37 +0000 (11:46 +0100)
src/basic/conf-files.c

index 77affe269cd2d7bc38a9f457212472e5f09a2801..7e1ff4f90b0c220bc5a0c106f295adcab0afbe92 100644 (file)
@@ -239,7 +239,7 @@ static int files_add(
 
                 /* Does this match the suffix? */
                 if (suffix && !endswith(de->d_name, suffix)) {
-                        log_debug("Skipping file '%s/%s' with unexpected suffix.", root, skip_leading_slash(original_path));
+                        log_debug("Skipping file '%s/%s', suffix is not '%s'.", root, skip_leading_slash(original_path), suffix);
                         continue;
                 }