Skip to content

Commit

Permalink
fix: volume list error
Browse files Browse the repository at this point in the history
  • Loading branch information
hazcod committed Oct 12, 2021
1 parent 6b693ef commit c33ec3f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions macbac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,7 @@ listStatus() {
}

listSnapshots() {
declare -a volumes

while read -r line; do
volumes+=("$line")
done <<< $(getVolumes)
volumes=($(getVolumes))

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

0 comments on commit c33ec3f

Please sign in to comment.