mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #34179 from terminalmage/issue34114
Raise the correct exception when gitfs lockfile is empty
This commit is contained in:
commit
5cbaaed167
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ class GitProvider(object):
|
|||
'by another master.')
|
||||
log.warning(msg)
|
||||
if failhard:
|
||||
raise
|
||||
raise exc
|
||||
return
|
||||
elif pid and pid_exists(pid):
|
||||
log.warning('Process %d has a %s %s lock (%s)',
|
||||
|
|
Loading…
Add table
Reference in a new issue