[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [Xen-changelog] Adding a second IP address onto eth0 causes the vif-* hotplug scripts to



On Wed, 2006-02-22 at 21:56 +0000, Xen patchbot -unstable wrote:
> -  ip addr show "$1" | awk "/^.*inet.*$1\$/{print \$2}" | sed 's,/.*,,'
> +  ip addr show "$1" | awk "/^.*inet.*$1\$/{print \$2}" | sed 's,/.*,,' | 
> head -1

As previously stated, head -1 is deprecated syntax and makes some
versions of coreutils barf.

Please use the more posixly correct 'head -n 1' instead

Jeremy


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.