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

Re: [Xen-devel] /bin/sh vs trap in vscsi hotplug script



James Harper writes ("[Xen-devel] /bin/sh vs trap in vscsi hotplug script"):
> The other hotplug scripts have #!/bin/bash but vscsi has #!/bin/sh, and I 
> think that trap in xen-hotplug-common.sh is a bashism, or at least isn't 
> liked by the Debian default shell dash.
> 
> What is the bug here? The incompatible shell specified in vscsi hotplug 
> script, or "trap sigerr ERR" in xen-hotplug-common.sh?

I think "trap ... ERR" is a very useful feature which it would be
irritating to do without.  So I should change the #!

Ian.

_______________________________________________
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®.