Pomodoro: correct the test for break_time.

This commit is contained in:
gardouille 2015-10-27 12:58:18 +01:00
parent 3886bc7731
commit ea8cd3252f

View File

@ -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}"