mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
Fixed a spurious archive-get log message that indicated an exit code of 1 was an abnormal termination.
This commit is contained in:
parent
9b92edddbe
commit
7418559a67
@ -180,6 +180,10 @@
|
||||
<release-item>
|
||||
<p>Fixed an issue where protocol mismatch errors did not output the expected value.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Fixed a spurious <cmd>archive-get</cmd> log message that indicated an exit code of 1 was an abnormal termination.</p>
|
||||
</release-item>
|
||||
</release-bug-list>
|
||||
|
||||
<release-feature-list>
|
||||
|
@ -95,7 +95,7 @@ sub exitSafe
|
||||
}
|
||||
|
||||
# Log command end
|
||||
commandEnd($iExitCode, $strSignal);
|
||||
commandEnd(defined($oException) || $iExitCode == ERROR_TERM ? $iExitCode : undef, $strSignal);
|
||||
|
||||
# Log return values if any
|
||||
logDebugReturn
|
||||
|
@ -148,5 +148,5 @@ P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 1, oException = [undef], s
|
||||
P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef]
|
||||
P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
|
||||
P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false
|
||||
P00 INFO: archive-get command end: aborted with exception [1]
|
||||
P00 INFO: archive-get command end: completed successfully
|
||||
P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 1
|
||||
|
@ -148,5 +148,5 @@ P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 1, oException = [undef], s
|
||||
P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef]
|
||||
P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
|
||||
P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false
|
||||
P00 INFO: archive-get command end: aborted with exception [1]
|
||||
P00 INFO: archive-get command end: completed successfully
|
||||
P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 1
|
||||
|
@ -147,5 +147,5 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRem
|
||||
P00 DEBUG: Protocol::CommandMaster->close=>: iExitStatus = 0
|
||||
P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
|
||||
P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false
|
||||
P00 INFO: archive-get command end: aborted with exception [1]
|
||||
P00 INFO: archive-get command end: completed successfully
|
||||
P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 1
|
||||
|
@ -147,5 +147,5 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRem
|
||||
P00 DEBUG: Protocol::CommandMaster->close=>: iExitStatus = 0
|
||||
P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
|
||||
P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false
|
||||
P00 INFO: archive-get command end: aborted with exception [1]
|
||||
P00 INFO: archive-get command end: completed successfully
|
||||
P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 1
|
||||
|
Loading…
Reference in New Issue
Block a user