mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +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.
|
# Acquire lock.
|
||||||
log debug "trying to acquire lock /var/run/usbmount/.mount.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; }
|
{ log err "cannot acquire lock /var/run/usbmount/.mount.lock"; exit 1; }
|
||||||
trap '( lockfile-remove /var/run/usbmount/.mount )' 0
|
trap '( lockfile-remove /var/run/usbmount/.mount )' 0
|
||||||
log debug "acquired lock /var/run/usbmount/.mount.lock"
|
log debug "acquired lock /var/run/usbmount/.mount.lock"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue