From: Ian Jackson Date: Wed, 15 Dec 2010 13:34:26 +0000 (+0000) Subject: blktap2: fix up non-ASCII characters in 21129:bf74d9c31674 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=09150fd700874bf0362f60856d9ba70944aff5ee;p=xen.git blktap2: fix up non-ASCII characters in 21129:bf74d9c31674 21129:bf74d9c31674 contained UTF-8-encoded nonbreaking spaces. Sorry for not noticing this. Signed-off-by: Ian Jackson --- diff --git a/tools/hotplug/Linux/xen-hotplug-cleanup b/tools/hotplug/Linux/xen-hotplug-cleanup index 237a2d1700..fcaa8fc8c6 100644 --- a/tools/hotplug/Linux/xen-hotplug-cleanup +++ b/tools/hotplug/Linux/xen-hotplug-cleanup @@ -21,12 +21,12 @@ if [ "$vm" != "" ]; then # if the vm path does not exist and the device class is 'vbd' then we may have # a tap2 device -  $(xenstore-read "$vm_dev" 2>/dev/null) || \ -  { -     if [ "${path_array[1]}" = "vbd" ]; then -        vm_dev="$vm/device/tap2/${path_array[3]}" -     fi -  } + $(xenstore-read "$vm_dev" 2>/dev/null) || \ + { + if [ "${path_array[1]}" = "vbd" ]; then + vm_dev="$vm/device/tap2/${path_array[3]}" + fi + } else vm_dev= fi