Explorar el Código

civrun returns the return value of civvm

Simon Polstra hace 11 años
padre
commit
2998052659
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      bin/civrun

+ 2 - 0
bin/civrun

@@ -3,4 +3,6 @@ DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
 $DIR/civcc -o _tmp.s ${@:2} $1 &&
 $DIR/civas -o _tmp.out _tmp.s &&
 $DIR/civvm _tmp.out
+ret_val=$?
 rm -f _tmp.s _tmp.out
+exit $ret_val