X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=devtools%2Fcheck-forbidden-tokens.awk;h=f86cbe8dc17cdec9a8ee75171f8f57922b61c4e9;hb=7762e0139b7d0249baac4fe95a49653c7295c2a0;hp=fd77cdd87ce82fa7e9e8a07e3df8102cf5edf772;hpb=42f4d724ec27ffb4f512713cfb83cfc645086571;p=dpdk.git diff --git a/devtools/check-forbidden-tokens.awk b/devtools/check-forbidden-tokens.awk index fd77cdd87c..f86cbe8dc1 100755 --- a/devtools/check-forbidden-tokens.awk +++ b/devtools/check-forbidden-tokens.awk @@ -62,13 +62,8 @@ BEGIN { } END { if (count > 0) { - print "Warning in " substr(last_file,6) ":" - print "are you sure you want to add the following:" - for (key in expressions) { - if (expressions[key] > 0) { - print key - } - } + print "Warning in " substr(last_file,7) ":" + print MESSAGE exit RET_ON_FAIL } }