mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-27 10:50:10 +03:00
bug #4633: skip empty lines in fs_lvm/monitor
This commit is contained in:
parent
df6991ec36
commit
4f17903404
@ -105,6 +105,8 @@ vm_previous='n'
|
||||
|
||||
while IFS="\n" read -r line; do
|
||||
vm=\$(echo "\$line" | cut -d':' -f1)
|
||||
[ -n "\$vm" ] || continue
|
||||
|
||||
disk=\$(echo "\$line" | cut -d':' -f2)
|
||||
size=\$(echo "\$line" | cut -d':' -f3 | cut -d'.' -f1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user