[Swift-commit] r3704 - trunk/bin
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Mon Nov 1 19:07:58 CDT 2010
Author: davidk
Date: 2010-11-01 19:07:58 -0500 (Mon, 01 Nov 2010)
New Revision: 3704
Modified:
trunk/bin/swift
Log:
Updated shell script to ignore error messages from bash when compiled with --disable-net-redirections
Modified: trunk/bin/swift
===================================================================
--- trunk/bin/swift 2010-10-30 21:33:13 UTC (rev 3703)
+++ trunk/bin/swift 2010-11-02 00:07:58 UTC (rev 3704)
@@ -139,7 +139,7 @@
USERID=`echo $USERID $HOSTNAME $MAC | $MD5SUM |cut -d ' ' -f1`
DATE=`date`
KEY=`echo $USERID $DATE $$ | $MD5SUM | cut -d ' ' -f1`
- $BASH -c "echo $KEY $USERID $SCRIPTID $SCRIPTLENGTH -1 0 > /dev/udp/$LISTENER/$PORT" &
+ $BASH -c "echo $KEY $USERID $SCRIPTID $SCRIPTLENGTH -1 0 > /dev/udp/$LISTENER/$PORT" > /dev/null 2>&1 &
fi
### EXECUTE ############
@@ -154,7 +154,7 @@
return_code=$?
if [ "$SWIFT_USAGE_STATS" = 1 ]; then
- $BASH -c "echo $KEY $USERID $SCRIPTID $SCRIPTLENGTH $return_code 1 > /dev/udp/$LISTENER/$PORT" &
+ $BASH -c "echo $KEY $USERID $SCRIPTID $SCRIPTLENGTH $return_code 1 > /dev/udp/$LISTENER/$PORT" > /dev/null 2>&1 &
fi
exit $return_code
More information about the Swift-commit
mailing list