cron mail clutter when no batteries connected
nachtgeist opened this issue · 0 comments
nachtgeist commented
/usr/share/battery-stats/collect-csv prints errors when no batteries are connected, resulting in cron mail clutter like
-----8<------
Subject: Cron root@localhost if [ -x /usr/share/battery-stats/collect-csv ]; then /usr/share/battery-stats/collect-csv ; fi (failed)
/usr/share/battery-stats/collect-csv: line 86: cd: BAT*: No such file or directory
-----8<------