[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix completely broken xenstore_read function.
# HG changeset patch # User emellor@ewan # Node ID 3a341763d8b8370afc717cba45b5ec7d40bc5aa8 # Parent 5134f3c512c8e140ca7454e27f1931870ca8b4d7 Fix completely broken xenstore_read function. Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> diff -r 5134f3c512c8 -r 3a341763d8b8 tools/examples/xen-hotplug-common.sh --- a/tools/examples/xen-hotplug-common.sh Mon Oct 10 17:16:03 2005 +++ b/tools/examples/xen-hotplug-common.sh Mon Oct 10 17:58:46 2005 @@ -9,10 +9,10 @@ } xenstore_read() { - local v=$(xenstore-read "$XENBUS_PATH"/type || true) + local v=$(xenstore-read "$@" || true) if [ "$v" == "" ] then - log error "xenstore-read $XENBUS_PATH/type failed." + log error "xenstore-read $@ failed." exit 1 fi echo "$v" _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |