1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-26 09:07:12 -07:00

off by one

This commit is contained in:
Connor Olding 2015-03-05 08:55:59 -08:00
parent 0a1eba304a
commit 0a60142dc4

View File

@ -20,7 +20,7 @@ shift
local sec="$(date +%s)"
let min=sec/60+offset
let mod=min%interval
if [ $# -gt 1 ]; then
if [ $# -gt 0 ]; then
local cmd="${1}"
shift