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:
parent
60ca24d63a
commit
257dc008ec
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue