X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7d8a6180b3769b53adbe4600df95074763141495..95b11095f38bb2b508878eb860d1b52ca7e9d09c:/src/smpi/smpirun.in diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index ad8295b63e..4bc0c03b9e 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -269,6 +269,7 @@ if [ -n "${KEEP}" ] ; then echo ${EXEC} ${SIMOPTS} ${TRACEOPTIONS} ${PLATFORMTMP} ${APPLICATIONTMP} fi ${EXEC} ${SIMOPTS} ${TRACEOPTIONS} ${PLATFORMTMP} ${APPLICATIONTMP} +status=$? if [ -z "${KEEP}" ] ; then if [ -z "${PLATFORM}" ]; then @@ -276,3 +277,5 @@ if [ -z "${KEEP}" ] ; then fi rm ${APPLICATIONTMP} fi + +exit $status