[Swift-commit] r5178 - SwiftApps/SwiftR/Swift/exec

tga at ci.uchicago.edu tga at ci.uchicago.edu
Tue Sep 27 10:23:40 CDT 2011


Author: tga
Date: 2011-09-27 10:23:40 -0500 (Tue, 27 Sep 2011)
New Revision: 5178

Modified:
   SwiftApps/SwiftR/Swift/exec/EvalRBatchPersistent.sh
Log:
Use rm -f to avoid error message.


Modified: SwiftApps/SwiftR/Swift/exec/EvalRBatchPersistent.sh
===================================================================
--- SwiftApps/SwiftR/Swift/exec/EvalRBatchPersistent.sh	2011-09-27 15:06:43 UTC (rev 5177)
+++ SwiftApps/SwiftR/Swift/exec/EvalRBatchPersistent.sh	2011-09-27 15:23:40 UTC (rev 5178)
@@ -146,7 +146,7 @@
 SLOTDIR=$WORKERDIR/${SWIFT_JOB_SLOT}
 
 # terminate timeout as early as possible
-rm ${SLOTDIR}/idletimer
+rm -f ${SLOTDIR}/idletimer
 
 mkdir -p $WORKERDIR
 
@@ -182,7 +182,7 @@
 }
 
 function timeout_handler {
-    echo 'Timed out waiting to contact R process'
+    echo "Timed out after ${TIMEOUT}s waiting to contact R process"
     echo 'R log follows:'
     echo '====================='
     cat $SLOTDIR/R.log




More information about the Swift-commit mailing list