X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7323d3b99c25003014fee1241858445f0c61aeb5..121308658776d576eb7c84215779f2014713a455:/src/smpi/smpirun.in diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index 07c97f77c9..aea4116b55 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -115,6 +115,13 @@ shift ##----------------------------------- +# test if we have something to execute, otherwise show usage and exit +if [ -z ${EXEC} ] +then + echo "Program is missing" + usage + exit 1 +fi