From 0a60142dc418a52983e7eaea72f21042daa18ce8 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Thu, 5 Mar 2015 08:55:59 -0800 Subject: [PATCH] off by one --- sh/minutemaid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/minutemaid b/sh/minutemaid index 42f833b..c3fa857 100755 --- a/sh/minutemaid +++ b/sh/minutemaid @@ -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