summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-09-10 10:58:31 +0200
committerLubomir Rintel <lkundrak@v3.sk>2019-09-10 11:20:03 +0200
commitae6668ae85d313b028f9e14e21fb81a050ad01b5 (patch)
tree6e18c9baf0c1f045de2a35be05b1b244c62628b7
parent1b0ee8756ba08c2334a89c162722f6bdd13718de (diff)
downloadNetworkManager-ae6668ae85d313b028f9e14e21fb81a050ad01b5.tar.gz
contrib/checkpatch: fix the systemd code pathlr/licensing
-rwxr-xr-xcontrib/scripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/scripts/checkpatch.pl b/contrib/scripts/checkpatch.pl
index a6942d53b5..0b014e780f 100755
--- a/contrib/scripts/checkpatch.pl
+++ b/contrib/scripts/checkpatch.pl
@@ -167,7 +167,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|n-dhcp4)\//;