Преглед изворни кода

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,7 +40,8 @@ qrun() {
40 40
         return 3
41 41
     }
42 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 47
 main() {