mirror of
https://github.com/notwa/rc
synced 2024-07-01 03:07:13 -07:00
off by one
This commit is contained in:
parent
0a1eba304a
commit
0a60142dc4
|
@ -20,7 +20,7 @@ shift
|
||||||
local sec="$(date +%s)"
|
local sec="$(date +%s)"
|
||||||
let min=sec/60+offset
|
let min=sec/60+offset
|
||||||
let mod=min%interval
|
let mod=min%interval
|
||||||
if [ $# -gt 1 ]; then
|
if [ $# -gt 0 ]; then
|
||||||
local cmd="${1}"
|
local cmd="${1}"
|
||||||
shift
|
shift
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user