1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +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:
David Steele
2017-01-31 10:36:59 -05:00
parent 9b92edddbe
commit 7418559a67
6 changed files with 9 additions and 5 deletions
+4
View File
@@ -180,6 +180,10 @@
<release-item> <release-item>
<p>Fixed an issue where protocol mismatch errors did not output the expected value.</p> <p>Fixed an issue where protocol mismatch errors did not output the expected value.</p>
</release-item> </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-bug-list>
<release-feature-list> <release-feature-list>
+1 -1
View File
@@ -95,7 +95,7 @@ sub exitSafe
} }
# Log command end # Log command end
commandEnd($iExitCode, $strSignal); commandEnd(defined($oException) || $iExitCode == ERROR_TERM ? $iExitCode : undef, $strSignal);
# Log return values if any # Log return values if any
logDebugReturn logDebugReturn
+1 -1
View File
@@ -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(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef]
P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false 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 P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 1
+1 -1
View File
@@ -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(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef]
P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false 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 P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 1
+1 -1
View File
@@ -147,5 +147,5 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRem
P00 DEBUG: Protocol::CommandMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::CommandMaster->close=>: iExitStatus = 0
P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false 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 P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 1
+1 -1
View File
@@ -147,5 +147,5 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRem
P00 DEBUG: Protocol::CommandMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::CommandMaster->close=>: iExitStatus = 0
P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false 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 P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 1