From 9204bc1c071265a9ca2f88d98fd97abb2c44f124 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Wed, 10 Apr 2024 13:35:46 +0200 Subject: [PATCH] Revert "Remove useless echo" This reverts commit 4ced07c3592f5e130cfea3dbc36da4b648abee80. --- cbattery | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cbattery b/cbattery index 28a6abf..9d41308 100755 --- a/cbattery +++ b/cbattery @@ -135,7 +135,7 @@ runScript() { "status") case "$setting" in "charging") exit "$(get_smc_charging_hex)" ;; - "cache") "$(get_cached_status)" ;; + "cache") echo "$(get_cached_status)" ;; *) echo "Battery at $(get_battery_percentage)%, smc charging $(get_smc_charging_status)" ;; esac ;;