[Swift-commit] r5901 - trunk/bin
    davidk at ci.uchicago.edu 
    davidk at ci.uchicago.edu
       
    Fri Aug 10 16:12:09 CDT 2012
    
    
  
Author: davidk
Date: 2012-08-10 16:12:09 -0500 (Fri, 10 Aug 2012)
New Revision: 5901
Modified:
   trunk/bin/swift
Log:
Ignore ifconfig obsolete messages on midway
Modified: trunk/bin/swift
===================================================================
--- trunk/bin/swift	2012-08-10 17:36:34 UTC (rev 5900)
+++ trunk/bin/swift	2012-08-10 21:12:09 UTC (rev 5901)
@@ -122,7 +122,7 @@
 PATH=$PATH:/sbin
 IFCONFIG=`which ifconfig 2>&1`
 if [ -x "$IFCONFIG" ]; then
-    MAC=`$IFCONFIG |grep HWaddr`
+    MAC=`$IFCONFIG 2>/dev/null |grep HWaddr`
 fi
 
 # Check if we are running on a mac, if so look for md5 and not md5sum
    
    
More information about the Swift-commit
mailing list