uvol: fix list output on LVM backend
authorDaniel Golle <daniel@makrotopia.org>
Tue, 22 Mar 2022 14:16:58 +0000 (14:16 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 22 Mar 2022 14:19:35 +0000 (14:19 +0000)
commit1337c44026a3a3f2b5e8e996d8cb440c0eb2a437
treedf36aa441ccf76d13bec77666803390873e6e1c1
parent32241d76d8e4d72400ce667e497288e50e458f6a
uvol: fix list output on LVM backend

'uvol list' was broken when introducing support for the hidden volumes.
Fix that by not using 'continue' keyword to break the loop (as that
lead to skipping 'json_select ..') and using if-clause instead.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
utils/uvol/files/lvm.sh