1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

tests: notify loop needs maj:min

Missed in previous commit.
This commit is contained in:
Zdenek Kabelac 2014-05-21 12:00:32 +02:00
parent cbdb8fa589
commit c34c33d9ba

View File

@ -417,6 +417,8 @@ disable_dev() {
finish_udev_transaction
for dev in "$@"; do
maj=$(($(stat -L --printf=0x%t "$dev")))
min=$(($(stat -L --printf=0x%T "$dev")))
notify_lvmetad --major "$maj" --minor "$min"
done
}