]> err.no Git - dak/commitdiff
fix incorrectly inverted lockfile check
authorRyan Murray <rmurray@debian.org>
Thu, 30 Jan 2003 14:36:26 +0000 (14:36 +0000)
committerRyan Murray <rmurray@debian.org>
Thu, 30 Jan 2003 14:36:26 +0000 (14:36 +0000)
cron.buildd

index 3327dd6ca72897c6d0701f330a0e01ceb7a419af..5c59408a5d65870e02ced32c4e634b2cb1eb936e 100644 (file)
@@ -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"
        }