Skip to content

Commit c33ec3f

Browse files
committed
fix: volume list error
1 parent 6b693ef commit c33ec3f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

macbac.sh

+1-5
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,7 @@ listStatus() {
256256
}
257257

258258
listSnapshots() {
259-
declare -a volumes
260-
261-
while read -r line; do
262-
volumes+=("$line")
263-
done <<< $(getVolumes)
259+
volumes=($(getVolumes))
264260

265261
for volume in "${volumes[@]}"; do
266262
# show current volume

0 commit comments

Comments
 (0)