diff options
Diffstat (limited to 'handlers/timer.zsh')
| -rw-r--r-- | handlers/timer.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers/timer.zsh b/handlers/timer.zsh index 269ac5a..483863a 100644 --- a/handlers/timer.zsh +++ b/handlers/timer.zsh @@ -4,7 +4,7 @@ if ! mkdir "${cache}.lock" then - exit 0 + exit fi timer_ctime=$(strftime %s) @@ -13,7 +13,7 @@ timer_mtime=$(< "${cache}.timer") if [[ $((timer_ctime - timer_mtime)) -lt 5 ]] then rmdir "${cache}.lock" - exit 0 + exit fi source "${operators}/timer_unlock.zsh" |
