* a little fix of blktap2 in xen-hotplug-cleanup
@ 2010-04-08 6:56 James (song wei)
0 siblings, 0 replies; only message in thread
From: James (song wei) @ 2010-04-08 6:56 UTC (permalink / raw)
To: xen-devel
a little fix for blktap2 in xen-hotplug-cleanup
-James (Song Wei)
Signed-off-by: James (Song Wei) <jsong@novell.com>
diff -r 3376c90960e8 tools/hotplug/Linux/xen-hotplug-cleanup
--- a/tools/hotplug/Linux/xen-hotplug-cleanup Wed Apr 07 10:17:27 2010
+0100
+++ b/tools/hotplug/Linux/xen-hotplug-cleanup Thu Apr 08 14:51:12 2010
+0800
@@ -21,7 +21,7 @@
# if the vm path does not exist and the device class is 'vbd' then we may
have
# a tap2 device
- if [ $(xenstore-read "$vm_dev" 2>/dev/null) != "" ] \
+ if [ "$(xenstore-read "$vm_dev" 2>/dev/null)" != "" ] \
&& [ "${path_array[1]}" = "vbd" ]; then
vm_dev="$vm/device/tap2/${path_array[3]}"
fi
--
View this message in context: http://old.nabble.com/a-little-fix-of-blktap2--in-xen-hotplug-cleanup-tp28174878p28174878.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-04-08 6:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-08 6:56 a little fix of blktap2 in xen-hotplug-cleanup James (song wei)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.