Browse Source

Merge bb272a71d097c5d6d8b2f3878868dc77b6cd2e84 into 95628f4449d5ce1baaa68cf751fbefdce3099aec

Tobias Kaminsky 6 years ago
parent
commit
d9882c916b
2 changed files with 7 additions and 3 deletions
  1. 6 2
      scripts/analysis/analysis-wrapper.sh
  2. 1 1
      scripts/analysis/findbugs-results.txt

+ 6 - 2
scripts/analysis/analysis-wrapper.sh

@@ -116,9 +116,13 @@ else
         exit 1
     fi
 
-    if [ $lintValue -eq 2 ]; then
+    if [ ! $lintValue -eq 2 ]; then
+        exit $lintValue
+    fi
+
+    if [ $findbugsValue -eq 2 ]; then
         exit 0
     else
-        exit $lintValue
+        exit $findbugsValue
     fi
 fi

+ 1 - 1
scripts/analysis/findbugs-results.txt

@@ -1 +1 @@
-534
+535