From f38549dbe470cdf7baa65d81f29668ad15f97a6e Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Fri, 31 Aug 2012 10:42:06 +0100 Subject: 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 Acked-by: Ian Jackson Committed-by: Ian Campbell --- tools/hotplug/NetBSD/block | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/hotplug') 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 } -- cgit v1.2.3