From: Ryan Murray Date: Thu, 30 Jan 2003 14:36:26 +0000 (+0000) Subject: fix incorrectly inverted lockfile check X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ac1ebcc6c8514198de83318de2decbc1deeec9e;p=dak fix incorrectly inverted lockfile check --- 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" }