Skip to contentSkip to conversation

Fix message of network-bridge script

PATCH New Masaki Kanno 1 participant 1 message Aug 18, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix message of network-bridge script

Hi,

I saw the following messages when started xend first.

[root@pgbs07 ~]# xend start
Nothing to flush.
Waiting for peth1 to negotiate link...[root@pgbs07 ~]#

After "negotiate link...", how about starting a new line?

[root@pgbs07 ~]# xend start
Nothing to flush.
Waiting for peth1 to negotiate link...
[root@pgbs07 ~]#

Best regards,
Kan

tools/examples/network-bridge +2 -1
diff -r 256160ff19b7 tools/examples/network-bridge
@@ -259,7 +259,8 @@ add_to_bridge2() {
 	fi
     done
 
-    if [ ${i} -eq ${maxtries} ] ; then echo '(link isnt in running state)' ; fi
+    if [ ${i} -eq ${maxtries} ] ; then echo -n '(link isnt in running state)' ; fi
+    echo
 
     add_to_bridge ${bridge} ${dev}
 }

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel