WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Fix completely broken xenstore_read function.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix completely broken xenstore_read function.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Oct 2005 18:02:10 +0000
Delivery-date: Mon, 10 Oct 2005 17:59:42 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix completely broken xenstore_read function., Xen patchbot -unstable <=