contrib/checkpatch: fix the systemd code path

This commit is contained in:
Lubomir Rintel
2019-09-10 10:58:31 +02:00
parent 1b0ee8756b
commit ae6668ae85

View File

@@ -167,7 +167,7 @@ if ($filename !~ /\.[ch]$/) {
} }
next if $filename =~ /\/nm-[^\/]+-enum-types\.[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 =~ /\/sd-adapt\//
and not $filename =~ /\/nm-/; and not $filename =~ /\/nm-/;
next if $filename =~ /\/(n-acd|c-list|c-siphash|n-dhcp4)\//; next if $filename =~ /\/(n-acd|c-list|c-siphash|n-dhcp4)\//;