Fix timer-auto-stop script

This commit is contained in:
Nikolay Puzanov 2018-09-04 14:38:35 +03:00
parent bc4ca19818
commit 4d29ac2036

View File

@ -2,7 +2,7 @@
timer_is_start() timer_is_start()
{ {
if [ "$(timer)" = "NO TASKS" ]; then if [ "$(timer current)" = "NO TASKS" ]; then
echo "off" echo "off"
else else
echo "on" echo "on"