Joerg Jaspert pushed to branch lockfile at Debian FTP Team / dak
Commits:
-
90860fc8
by Joerg Jaspert at 2018-04-16T22:44:09+02:00
1 changed file:
Changes:
... | ... | @@ -16,13 +16,12 @@ reportdis=$queuedir/REPORT.disembargo |
16 | 16 |
timestamp=$(date "+%Y-%m-%d %H:%M")
|
17 | 17 |
doanything=false
|
18 | 18 |
dopolicy=false
|
19 |
-LOCKFILE="$lockdir/unchecked.lock"
|
|
20 | 19 |
|
21 | 20 |
last_changed() {
|
22 | 21 |
psql -qAtc "SELECT MAX(last_changed) FROM suite WHERE archive_id=(SELECT id FROM archive WHERE name='$1')"
|
23 | 22 |
}
|
24 | 23 |
|
25 |
-exec {LOCKFD}<>${LOCKFILE}
|
|
24 |
+exec {LOCKFD}<>${LOCK_UNCHECKED}
|
|
26 | 25 |
flock --exclusive --timeout 600 ${LOCKFD}
|
27 | 26 |
|
28 | 27 |
old_last_changed=$(last_changed security)
|