diff --git a/scripts/hasCopyright.pl b/scripts/hasCopyright.pl
old mode 100644
new mode 100755
index 575682a8aff58e2e477f5654f7dd45ef1fe3e927..c80135a7916581448191deba0ded582ac25b7dd5
--- a/scripts/hasCopyright.pl
+++ b/scripts/hasCopyright.pl
@@ -110,8 +110,8 @@ while (1) {
         next;
     }
 
-    unless ($hasGPL) {
-        print "$file\tERROR\tNo GPL license\n";
+    if ($hasGPL) {
+        print "$file\tERROR\tHas GPL license\n";
         next;
     }