From 5e5cf5da2a65bc51d5b160b047c18ff40f496fc4 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 6 Feb 2016 01:31:13 +1100 Subject: [PATCH] Fix weird leftover escape codes in stdout mode --- fetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch b/fetch index b36b6906..67070163 100755 --- a/fetch +++ b/fetch @@ -1235,7 +1235,7 @@ getbattery () { # If there's only a single battery and it's battery 0, # don't number the subtitle. if [ "${#batteries[@]}" == 1 ]; then - battery="$(prin "${title}: ${batteries[0]}%")" + battery="${batteries[0]}%" return fi