Skip to content

Commit

Permalink
tlp-stat: fix formatted recommentdation output.
Browse files Browse the repository at this point in the history
  • Loading branch information
linrunner committed Apr 10, 2019
1 parent b94e744 commit 5d2abde
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tlp-stat.in
Expand Up @@ -1057,7 +1057,9 @@ if [ "$show_bat" = "1" ] || [ "$show_all" = "1" ]; then

if [ -n "$reout" ]; then
echo "+++ Recommendations"
printf "%s" $reout | sed -r 's/^/\* /'
# shellcheck disable=SC2059
# don't change to %s, $reout contains blanks and \n!
printf "$reout" | sed -r 's/^/\* /'
echo
fi

Expand Down

0 comments on commit 5d2abde

Please sign in to comment.