diff options
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/caffeine | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/caffeine b/.local/bin/caffeine index 10b26e0..bce6abd 100755 --- a/.local/bin/caffeine +++ b/.local/bin/caffeine @@ -112,6 +112,8 @@ done [ -z "$timeout" ] && timeout="$(caf_time)" +[ -z "$timeout" ] && + exit 1 [ "$((timeout))" -le 0 ] && die "invalid input time" |