blktap2: a little fix to xen-hotplug-cleanup

Signed-off-by: James (Song Wei) <jsong@novell.com>
xen-unstable changeset:   21129:bf74d9c31674
xen-unstable date:        Mon Apr 12 07:23:21 2010 +0100
This commit is contained in:
Keir Fraser committed 2010-06-07 07:24:02 +01:00
1 parent aa1461c9f1
commit 2223a8c9fe
1 file changed
+1 -1
+1 -1
View File
@@ -21,7 +21,7 @@ if [ "$vm" != "" ]; then
# 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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.