Security update, RHSA-2014:1392-2
[packages/centos6/kernel.git] / check-kabi
index 3962b32a863ddaaa0a732c78056c1248d753101f..9402ead0d95a57e4583af5c7f52289921c267945 100644 (file)
@@ -102,10 +102,12 @@ def check_kabi(symvers,kabi):
                        print symbol
                print ""
 
-       if fail:
+       """Halt the build, if we got errors and/or warnings. In either case,
+          double-checkig is required to avoid introducing / concealing
+          KABI inconsistencies."""
+       if fail or warn:
                sys.exit(1)
-       else:
-               sys.exit(0)
+       sys.exit(0)
 
 def usage():
        print """