contrib/checkpatch: fix the systemd code path

(cherry picked from commit ae6668ae85)
(cherry picked from commit 24d40570a7)
This commit is contained in:
Lubomir Rintel 2019-09-10 10:58:31 +02:00 committed by Thomas Haller
parent 570030a687
commit c694a8c935

View file

@ -178,7 +178,7 @@ if ($filename !~ /\.[ch]$/) {
}
next if $filename =~ /\/nm-[^\/]+-enum-types\.[ch]$/;
next if $filename =~ /\bsrc\/systemd\//
next if $filename =~ /\b(shared|src)\/systemd\//
and not $filename =~ /\/sd-adapt\//
and not $filename =~ /\/nm-/;
next if $filename =~ /\/(n-acd|c-list|c-siphash)\//;