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

[Xen-changelog] [xen-unstable] hotplug/NetBSD: write error message to hotplug-error


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Tue, 04 Sep 2012 14:44:10 +0000
  • Delivery-date: Tue, 04 Sep 2012 14:44:19 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# 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


 


Rackspace

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