Verified Commit da5cd7d7 authored by Starbeamrainbowlabs's avatar Starbeamrainbowlabs
Browse files

Bugfix: Properly reset colour after echoing stage_end

parent 7365f7d1
......@@ -96,7 +96,7 @@ stage_end() {
fi
term_width=$(tput cols);
padding_length=$((term_width / 2 - 3 - 1));
echo -e "${HC}${FBLE}$(printf '%*s' ${padding_length} | tr ' ' '-')[${RS} ${display_text} ${HC}${FBLE}]$(printf '%*s' ${padding_length} | tr ' ' '-')${HC}${FBLE}";
echo -e "${HC}${FBLE}$(printf '%*s' ${padding_length} | tr ' ' '-')[${RS} ${display_text} ${HC}${FBLE}]$(printf '%*s' ${padding_length} | tr ' ' '-')${RS}";
if [[ $1 -ne 0 ]]; then
exit $1;
......
Supports Markdown
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