浏览代码

only rewrite error code 2 -> 0

tobiasKaminsky 7 年之前
父节点
当前提交
f9628a5f26
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/lint/lint-up-wrapper.sh

+ 1 - 1
scripts/lint/lint-up-wrapper.sh

@@ -31,6 +31,6 @@ else
     if [ $returnValue -eq 2 ]; then
     if [ $returnValue -eq 2 ]; then
         exit 0
         exit 0
     else
     else
-        exit 1
+        exit $returnValue
     fi  
     fi  
 fi
 fi