From 5ac1ebcc6c8514198de83318de2decbc1deeec9e Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Thu, 30 Jan 2003 14:36:26 +0000 Subject: [PATCH] fix incorrectly inverted lockfile check --- cron.buildd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.buildd b/cron.buildd index 3327dd6c..5c59408a 100644 --- a/cron.buildd +++ b/cron.buildd @@ -11,7 +11,7 @@ export SCRIPTVARS=/org/ftp.debian.org/katie/vars LOCKFILE="/org/wanna-build/tmp/DB_Maintenance_In_Progress" if [ ! -e "$ftpdir/Archive_Maintenance_In_Progress" ]; then - if lockfile -! -r3 $LOCKFILE; then + if lockfile -r3 $LOCKFILE; then cleanup() { rm -f "$LOCKFILE" } -- 2.39.5