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>
Thu, 24 Mar 2022 23:05:59 +0000 (23:05 +0000)
commit2f6f65b216fec54329c036aaf21d35e69dee1877
tree945ff9398fb375890f2c30aefc33e99851105864
parent34e0a97caf7a24bdb2b986e9d48548ca4644fff8
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>
(cherry picked from commit 1337c44026a3a3f2b5e8e996d8cb440c0eb2a437)
utils/uvol/files/lvm.sh