[Swift-commit] r4563 - SwiftApps/SwiftR/Swift/exec
tga at ci.uchicago.edu
tga at ci.uchicago.edu
Fri Jun 3 15:38:29 CDT 2011
Author: tga
Date: 2011-06-03 15:38:29 -0500 (Fri, 03 Jun 2011)
New Revision: 4563
Modified:
SwiftApps/SwiftR/Swift/exec/start-swift
Log:
eliminated extraneous error message
Modified: SwiftApps/SwiftR/Swift/exec/start-swift
===================================================================
--- SwiftApps/SwiftR/Swift/exec/start-swift 2011-06-03 20:27:01 UTC (rev 4562)
+++ SwiftApps/SwiftR/Swift/exec/start-swift 2011-06-03 20:38:29 UTC (rev 4563)
@@ -387,7 +387,7 @@
# torque's error code is 0 sometimes when failed: make sure there
# is something in job id file
- jobid=$(cat $jobidfile)
+ jobid=$(cat $jobidfile 2> /dev/null)
jobid=`echo $jobid`
if [ -z "$jobid" ]; then
echo Batch queue submission failed, exiting.
@@ -834,7 +834,7 @@
coasterservicepid="" # null: saved in case we go back to using coaster servers
trap - $TRAPEVENTS
- jobid=$(cat $jobidfile)
+ jobid=$(cat $jobidfile 2> /dev/null)
echo Terminating worker processes starter $starterpid and batch job $jobid
if [ "_$starterpid" != _ ]; then
kill $starterpid &> /dev/null
More information about the Swift-commit
mailing list