mirror of
https://github.com/systemd/systemd.git
synced 2026-08-03 14:40:31 +00:00
path_id: fix for stacked class devices
This commit is contained in:
@@ -456,7 +456,11 @@ handle_device () {
|
||||
return
|
||||
fi
|
||||
fi
|
||||
cd $full_sysfs_path/device
|
||||
if [ -L $full_sysfs_path/device/device ]; then
|
||||
cd $full_sysfs_path/device/device
|
||||
else
|
||||
cd $full_sysfs_path/device
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
full_sysfs_device_path="`pwd -P`"
|
||||
|
||||
Reference in New Issue
Block a user