From c4c5f8c41b7b68e384cc7eaa2addc75b51282bc7 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Sun, 1 Nov 2009 02:16:35 +0100 Subject: [PATCH] check_interval typo fix --- daemons/gc.sh | 2 +- daemons/update.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daemons/gc.sh b/daemons/gc.sh index 1366131..61b02fa 100755 --- a/daemons/gc.sh +++ b/daemons/gc.sh @@ -7,7 +7,7 @@ set -e proj="$1" cd "$cfg_reporoot/$proj.git" -if check_interval lastgc $cfg_min_gc_intreval; then +if check_interval lastgc $cfg_min_gc_interval; then progress "= [$proj] garbage check skip (last at $(config_get lastgc))" exit 0 fi diff --git a/daemons/update.sh b/daemons/update.sh index 69ed9f3..b44499d 100755 --- a/daemons/update.sh +++ b/daemons/update.sh @@ -7,7 +7,7 @@ set -e proj="$1" cd "$cfg_reporoot/$proj.git" -if check_interval lastrefresh $cfg_min_mirror_intreval; then +if check_interval lastrefresh $cfg_min_mirror_interval; then progress "= [$proj] update skip (last at $(config_get lastrefresh))" exit 0 fi -- 2.11.4.GIT