Skip to content

Commit

Permalink
Update genmon-barchart.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasedoff committed Jan 23, 2022
1 parent f9653a3 commit 5c1f0c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions genmon-barchart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ main() {
# Save data with potential new max values
data_save "$values_file"

# Output for GenMon
echo -e "<img>/tmp/genmon-barchart.svg</img><tool><tt>$tooltip</tt></tool>"
# Output for GenMon with trailing newline removed from tooltip
echo -e "<img>/tmp/genmon-barchart.svg</img><tool><tt>${tooltip::-1}</tt></tool>"
}

num_warn() {
Expand Down

0 comments on commit 5c1f0c4

Please sign in to comment.