]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tmpfiles: downgrade warning about duplicate line
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 22 Nov 2017 13:19:13 +0000 (14:19 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 6 Dec 2017 09:17:45 +0000 (10:17 +0100)
This happens occasionally, especially when moving lines between configuration files
in different packages, and usually is not a big deal.

src/tmpfiles/tmpfiles.c

index 4e615288da4437848160905cc099b4c1e65b4b89..7061b2fefb91d0d83da155b4b3fd768d72dc13b3 100644 (file)
@@ -2143,8 +2143,8 @@ static int parse_line(const char *fname, unsigned line, const char *buffer, bool
 
                 for (n = 0; n < existing->count; n++) {
                         if (!item_compatible(existing->items + n, &i)) {
-                                log_warning("[%s:%u] Duplicate line for path \"%s\", ignoring.",
-                                            fname, line, i.path);
+                                log_notice("[%s:%u] Duplicate line for path \"%s\", ignoring.",
+                                           fname, line, i.path);
                                 return 0;
                         }
                 }