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:
parent
cbdb8fa589
commit
c34c33d9ba
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user