Use the right lock directory everywhere, not only most places.
- Legacy-Id: 399
This commit is contained in:
parent
6f04c420b5
commit
a746d9099a
|
@ -57,7 +57,7 @@ LOCKDIR=/var/lock/ietfdb
|
||||||
PIDFILE=$LOCKDIR/pid
|
PIDFILE=$LOCKDIR/pid
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
if mkdir $build/test/update-db.lock; then
|
if mkdir $LOCKDIR; then
|
||||||
echo "$$" > $PIDFILE
|
echo "$$" > $PIDFILE
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue