[Fai-commit] r5468 - trunk/lib

Thomas Lange lange at alioth.debian.org
Tue Jul 21 16:36:33 UTC 2009


Author: lange
Date: 2009-07-21 16:36:32 +0000 (Tue, 21 Jul 2009)
New Revision: 5468

Modified:
   trunk/lib/subroutines-linux
Log:
make regex more exact


Modified: trunk/lib/subroutines-linux
===================================================================
--- trunk/lib/subroutines-linux	2009-07-21 10:35:23 UTC (rev 5467)
+++ trunk/lib/subroutines-linux	2009-07-21 16:36:32 UTC (rev 5468)
@@ -301,7 +301,7 @@
     local hostname=$(hostname)
     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)
+    local nexttest=$(egrep -s ^NEXTTEST= $LOGDIR/test.log | cut -d= -f2)
 
     case "$FAI_LOGPROTO" in
 	ftp) remotesh=ssh ;;




More information about the Fai-commit mailing list