diff --git a/fetch b/fetch index d15fcd78..3fbc6fbd 100755 --- a/fetch +++ b/fetch @@ -1229,7 +1229,7 @@ getbattery () { fi # Print each battery on a seperate line. - for bat in ${batteries[@]}; do + for bat in "${batteries[@]}"; do prin "${title}${index}: ${bat}%" index=$((index + 1)) done