Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:Maintenance:114
xen.openSUSE_Evergreen_11.4
22499-xen-hotplug-cleanup.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 22499-xen-hotplug-cleanup.patch of Package xen.openSUSE_Evergreen_11.4
Index: xen-4.0.3-testing/tools/hotplug/Linux/xen-hotplug-cleanup =================================================================== --- xen-4.0.3-testing.orig/tools/hotplug/Linux/xen-hotplug-cleanup +++ xen-4.0.3-testing/tools/hotplug/Linux/xen-hotplug-cleanup @@ -21,10 +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 - if [ "$(xenstore-read "$vm_dev" 2>/dev/null)" != "" ] \ - && [ "${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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor