Skip to contentSkip to conversation

- remove -c option in echo

PATCH New Ben Thomas 1 participant 1 message Mar 6, 2007

lore
Share & tools
lore

Ben Thomas

author
#0 lore raw

PATCH 1/1 - remove -c option in echo

Today must be cleanup day... here's another small patch. I've yet to find out what echo -c does, and it certainly does nothing in all the environments that I've used, so here's a small fix to remove the need for it

Signature · 5 lines
------------------------------------------------------------------------
Ben Thomas                                         Virtual Iron Software
[email protected]                            Tower 1, Floor 2
978-849-1214                                       900 Chelmsford Street
                                                   Lowell, MA 01851

Remove use of -c in script. I've no idea what it does, and it doesn't appear to be valid on some systems. Use a more generic approach.

tools/ioemu/target-i386-dm/qemu-ifup +1 -2
diff -r 602a5469786e tools/ioemu/target-i386-dm/qemu-ifup
@@ -3,8 +3,7 @@
 #. /etc/rc.d/init.d/functions
 #ulimit -c unlimited
 
-echo -c 'config qemu network with xen bridge for '
-echo $*
+echo 'config qemu network with xen bridge for ' $*
 
 ifconfig $1 0.0.0.0 up
 brctl addif $2 $1

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