From: Roger Pau Monne Date: Fri, 31 Aug 2012 09:42:06 +0000 (+0100) Subject: hotplug/NetBSD: write error message to hotplug-error X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~8008 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f38549dbe470cdf7baa65d81f29668ad15f97a6e;p=xen.git 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 --- 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 }