1
0
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:
Javi Fontan 2016-05-04 19:27:19 +02:00
parent df6991ec36
commit 4f17903404

View File

@ -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)