Skip to content

Commit

Permalink
Fix incorrect background reset
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Decherf <[email protected]>
  • Loading branch information
Kdecherf committed Nov 1, 2017
1 parent 36ed043 commit 335349c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions report.bash
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ readonly yellow=$(tput setaf 3)
readonly Bred=$(tput setab 1)

readonly reset=$(tput sgr0)
readonly Breset=$(tput setab 9)

readonly Bold=$(tput bold)

Expand Down Expand Up @@ -106,8 +105,8 @@ _print_report() {
format_length_indication="%-${format_length_indication_width}s"
if [[ $length -lt 8 ]]; then
length_indication="very short"
local_format_length_indication="${Bred}${format_length_indication}${Breset}"
local_format_password="${Bred}${format_password}${Breset}"
local_format_length_indication="${Bred}${format_length_indication}${reset}"
local_format_password="${Bred}${format_password}${reset}"
elif [[ $length -lt 13 ]]; then
length_indication="short"
local_format_length_indication="${red}${format_length_indication}${reset}"
Expand Down

0 comments on commit 335349c

Please sign in to comment.