mirror of
https://github.com/notwa/rc
synced 2025-02-05 15:43:22 -08:00
off by one
This commit is contained in:
parent
0a1eba304a
commit
0a60142dc4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue