1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-06 03:53:59 +02:00

Fixed an invalid log call in lock routines.

This commit is contained in:
David Steele 2016-07-29 18:17:32 -04:00
parent a3b8808f94
commit af5965a6ef
2 changed files with 5 additions and 1 deletions

View File

@ -131,6 +131,10 @@
<release-item> <release-item>
<p>Fixed an issue where the contents of <path>pg_xlog</path> were being copied if the directory was symlinked.</p> <p>Fixed an issue where the contents of <path>pg_xlog</path> were being copied if the directory was symlinked.</p>
</release-item> </release-item>
<release-item>
<p>Fixed an invalid log call in lock routines.</p>
</release-item>
</release-bug-list> </release-bug-list>
<release-feature-list> <release-feature-list>

View File

@ -97,7 +97,7 @@ sub lockAcquire
# Cannot proceed if a lock is currently held # Cannot proceed if a lock is currently held
if (defined($strCurrentLockType)) if (defined($strCurrentLockType))
{ {
confess &lock(ASSERT, "${strCurrentLockType} lock is already held"); confess &log(ASSERT, "${strCurrentLockType} lock is already held");
} }
# Check if processes are currently stopped # Check if processes are currently stopped