1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +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>
<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>
<p>Fixed an invalid log call in lock routines.</p>
</release-item>
</release-bug-list>
<release-feature-list>

View File

@ -97,7 +97,7 @@ sub lockAcquire
# Cannot proceed if a lock is currently held
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