diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2012-08-31 10:42:06 +0100 |
---|---|---|
committer | Roger Pau Monne <roger.pau@citrix.com> | 2012-08-31 10:42:06 +0100 |
commit | f38549dbe470cdf7baa65d81f29668ad15f97a6e (patch) | |
tree | ee33bda46e436994c9b2d8fa45d6cf141ba8f663 /tools/hotplug/NetBSD | |
parent | 91227c3f91fd62aee773667812da4be9bcf94003 (diff) | |
download | xen-f38549dbe470cdf7baa65d81f29668ad15f97a6e.tar.gz xen-f38549dbe470cdf7baa65d81f29668ad15f97a6e.tar.bz2 xen-f38549dbe470cdf7baa65d81f29668ad15f97a6e.zip |
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@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/hotplug/NetBSD')
-rw-r--r-- | tools/hotplug/NetBSD/block | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/hotplug/NetBSD/block b/tools/hotplug/NetBSD/block index 28135f5168..2c10ed70ab 100644 --- a/tools/hotplug/NetBSD/block +++ b/tools/hotplug/NetBSD/block @@ -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 } |