forked from extern/shorewall_code
Revert "Improve handling of mutex contention when 'lockfile' is installed."
This reverts commit 2f56caf8fd
.
The change only worked on very recent distributions.
This commit is contained in:
parent
a223245c01
commit
e9b0e2f912
@ -755,7 +755,7 @@ mutex_on()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if qt mywhich lockfile; then
|
if qt mywhich lockfile; then
|
||||||
lockfile -s 1 -l ${MUTEX_TIMEOUT} ${lockf}
|
lockfile -${MUTEX_TIMEOUT} -r1 ${lockf}
|
||||||
chmod u+w ${lockf}
|
chmod u+w ${lockf}
|
||||||
echo $$ > ${lockf}
|
echo $$ > ${lockf}
|
||||||
chmod u-w ${lockf}
|
chmod u-w ${lockf}
|
||||||
|
Loading…
Reference in New Issue
Block a user