mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +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
|
||||
|
||||
test -n "$silent" || for num in $notify; do
|
||||
notify_lvmetad --major "$(echo "$num" | sed -e "s,:.*,,")" \
|
||||
--minor "$(echo "$num" | sed -e "s,.*:,,")"
|
||||
notify_lvmetad --major "${num%%:*}" --minor "${num##*:}"
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user