backend: use sensible lock filename for git

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-02-20 22:28:35 +01:00
parent 0065b98b57
commit 90aad09e47
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ function run() {
git push --set-upstream origin "${git_branch}"
}
exec {lock_fd}>/var/lock/mylockfile || failed_to_get_lock
exec {lock_fd}>/var/lock/spiff-workflow-git-lock || failed_to_get_lock
flock --timeout 60 "${lock_fd}" || failed_to_get_lock
run
flock -u "${lock_fd}"