Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix a typo in smpirun.
authorMatthieu Volat <mazhe@alkumuna.eu>
Mon, 23 Jan 2017 18:28:55 +0000 (19:28 +0100)
committerAugustin Degomme <augustin.degomme@unibas.ch>
Mon, 23 Jan 2017 19:57:20 +0000 (20:57 +0100)
src/smpi/smpirun.in

index 3af4015..9e5689e 100755 (executable)
@@ -516,7 +516,7 @@ pid=""
 # Keep temporary files on failures to help debugging
 #
 if [ ${status} -ne 0 ] ; then
 # Keep temporary files on failures to help debugging
 #
 if [ ${status} -ne 0 ] ; then
-    if [ -z ${KEEP} ] ; then
+    if [ -z ${KEEP} ]; then
         echo ${EXEC} ${TRACEOPTIONS} ${SIMOPTS} ${PRIVATIZE} ${PLATFORMTMP} ${APPLICATIONTMP}
         if [ ${HOSTFILETMP} = 1 ] ; then
             echo "Generated hostfile ${HOSTFILE} kept."
         echo ${EXEC} ${TRACEOPTIONS} ${SIMOPTS} ${PRIVATIZE} ${PLATFORMTMP} ${APPLICATIONTMP}
         if [ ${HOSTFILETMP} = 1 ] ; then
             echo "Generated hostfile ${HOSTFILE} kept."