diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-02-15 13:14:03 +0300 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-02-15 13:14:03 +0300 |
| commit | 504b9fca44b0b23ae5256482cefaea476d3ea290 (patch) | |
| tree | b31459ee7d40cbb0db96a847e217b6438c959948 /handlers/timer.zsh | |
| parent | b09241a7f2cf9443a8376a400c9bcc3dc36402e3 (diff) | |
*/*: Remove extra exit code
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
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" |
