mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-19 14:04:17 +03:00
tests: aux.sh replace sed call
Use internal shell vars manips
This commit is contained in:
parent
928a49a7c8
commit
84e83ac37e
@ -960,8 +960,7 @@ disable_dev() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
test -n "$silent" || for num in $notify; do
|
test -n "$silent" || for num in $notify; do
|
||||||
notify_lvmetad --major "$(echo "$num" | sed -e "s,:.*,,")" \
|
notify_lvmetad --major "${num%%:*}" --minor "${num##*:}"
|
||||||
--minor "$(echo "$num" | sed -e "s,.*:,,")"
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user