[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] hotplug/NetBSD: write error message to hotplug-error
# HG changeset patch # User Roger Pau Monne <roger.pau@xxxxxxxxxx> # Date 1346406126 -3600 # Node ID e1f6699e54f4cd6d3c284913a332c4e9d648f550 # Parent 9abb6d9344b9f495d917cc9fa5dc29f338ae9f31 hotplug/NetBSD: write error message to hotplug-error As recommended by Ian Campbell, write the hotplug error to hotplug-error, just as the Linux hotplug script does. Signed-off-by: Roger Pau Monne <roger.pau@xxxxxxxxxx> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- diff -r 9abb6d9344b9 -r e1f6699e54f4 tools/hotplug/NetBSD/block --- a/tools/hotplug/NetBSD/block Fri Aug 31 10:42:05 2012 +0100 +++ b/tools/hotplug/NetBSD/block Fri Aug 31 10:42:06 2012 +0100 @@ -12,7 +12,8 @@ export PATH error() { echo "$@" >&2 - xenstore-write $xpath/hotplug-status error + xenstore-write $xpath/hotplug-status error \ + $xpath/hotplug-error "$@" exit 1 } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |