Unverified Commit 228fb778 authored by black's avatar black Committed by GitHub

Merge pull request #1161 from asantam/master

Made variables local in get_cols function
parents 3c078840 2ecd8102
...@@ -3359,6 +3359,7 @@ get_gpu_driver() { ...@@ -3359,6 +3359,7 @@ get_gpu_driver() {
} }
get_cols() { get_cols() {
local blocks blocks2 cols
if [[ "$color_blocks" == "on" ]]; then if [[ "$color_blocks" == "on" ]]; then
# Convert the width to space chars. # Convert the width to space chars.
printf -v block_width "%${block_width}s" printf -v block_width "%${block_width}s"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment