[Fai-commit] r5462 - trunk/lib

Thomas Lange lange at alioth.debian.org
Mon Jul 20 11:57:42 UTC 2009


Author: lange
Date: 2009-07-20 11:57:41 +0000 (Mon, 20 Jul 2009)
New Revision: 5462

Modified:
   trunk/lib/subroutines-linux
Log:
minor code cleanup


Modified: trunk/lib/subroutines-linux
===================================================================
--- trunk/lib/subroutines-linux	2009-07-20 11:54:59 UTC (rev 5461)
+++ trunk/lib/subroutines-linux	2009-07-20 11:57:41 UTC (rev 5462)
@@ -299,7 +299,7 @@
     local frsh
     local doexit=0
     local hostname=$(hostname)
-    local ipaddr=$(grep IPADDR $LOGDIR/boot.log | cut -d'=' -f2 | sed "s/'//g")
+    local ipaddr=$(grep IPADDR $LOGDIR/boot.log | cut -d= -f2 | sed "s/'//g")
     local remotesh
     local nexttest=$(grep -s NEXTTEST $LOGDIR/test.log | cut -d= -f2)
 




More information about the Fai-commit mailing list