1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 11:12:06 +00:00

bump number of lock tries

This commit is contained in:
Jerry Vonau 2025-01-25 16:56:21 -06:00
parent 60ca24d63a
commit 257dc008ec

View file

@ -81,7 +81,7 @@ if [ "$1" = add ]; then
# Acquire lock.
log debug "trying to acquire lock /var/run/usbmount/.mount.lock"
lockfile-create --retry 3 /var/run/usbmount/.mount || \
lockfile-create --retry 6 /var/run/usbmount/.mount || \
{ log err "cannot acquire lock /var/run/usbmount/.mount.lock"; exit 1; }
trap '( lockfile-remove /var/run/usbmount/.mount )' 0
log debug "acquired lock /var/run/usbmount/.mount.lock"