aboutsummaryrefslogtreecommitdiffstats
path: root/tools/hotplug
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hotplug')
-rw-r--r--tools/hotplug/NetBSD/block3
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
}