瀏覽代碼

Die if test has not finished cleanly

Alois Mahdal 6 年之前
父節點
當前提交
8439b739ee
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      src/libexec/jattool-qrun

+ 2
- 1
src/libexec/jattool-qrun 查看文件

40
         return 3
40
         return 3
41
     }
41
     }
42
     source "$Body"
42
     source "$Body"
43
-    jat__sfinish
43
+    jat__sfinish; tes=$?
44
+    test $tes -gt 1 && die "test indicated invalid results"
44
 }
45
 }
45
 
46
 
46
 main() {
47
 main() {