[Swift-commit] r3522 - trunk/bin
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Wed Aug 11 07:55:21 CDT 2010
Author: davidk
Date: 2010-08-11 07:55:20 -0500 (Wed, 11 Aug 2010)
New Revision: 3522
Modified:
trunk/bin/swift
Log:
Run nc as a background process
Modified: trunk/bin/swift
===================================================================
--- trunk/bin/swift 2010-08-11 04:50:29 UTC (rev 3521)
+++ trunk/bin/swift 2010-08-11 12:55:20 UTC (rev 3522)
@@ -129,7 +129,7 @@
USERID=`echo $USERID $HOSTNAME $MAC | $MD5SUM |cut -d ' ' -f1`
DATE=`date`
KEY=`echo $USERID $DATE $$ | $MD5SUM | cut -d ' ' -f1`
- echo $KEY $USERID $SCRIPTID $SCRIPTLENGTH -1 0| $NC -u $LISTENER $PORT
+ echo $KEY $USERID $SCRIPTID $SCRIPTLENGTH -1 0| $NC -u $LISTENER $PORT &
fi
### EXECUTE ############
@@ -144,7 +144,7 @@
return_code=$?
if [ "$SWIFT_USAGE_STATS" = 1 ]; then
- echo $KEY $USERID $SCRIPTID $SCRIPTLENGTH $return_code 1| $NC -u $LISTENER $PORT
+ echo $KEY $USERID $SCRIPTID $SCRIPTLENGTH $return_code 1| $NC -u $LISTENER $PORT &
fi
exit $return_code
More information about the Swift-commit
mailing list