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 ;;