Pomodoro: correct the test for break_time.
This commit is contained in:
parent
3886bc7731
commit
ea8cd3252f
|
@ -64,7 +64,7 @@ fi
|
|||
BREAK_TIME=${SHORT_BREAK_TIME}
|
||||
printf '%b' "${BREAK_MSG}\n${BREAK_TIME}" > "${TASK_PATH}"
|
||||
|
||||
while [ "${BREAK_TIME}" > 0 ]; do
|
||||
while [ "${BREAK_TIME}" -gt 0 ]; do
|
||||
sleep 60
|
||||
BREAK_TIME=$((BREAK_TIME-1))
|
||||
printf '%b' "${BREAK_MSG}\n${BREAK_TIME}" > "${TASK_PATH}"
|
||||
|
|
Loading…
Reference in New Issue