You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-05 00:28:52 +02:00
Fix incorrectly reported error return in info logging.
A return code of 1 from the archive-get was being logged as an error message at info level but otherwise worked correctly. Also improve info messages when an archive segment is or is not found.
This commit is contained in:
@ -55,6 +55,9 @@ testRun(void)
|
||||
TEST_RESULT_INT(exitSafe(0, false, signalTypeNone), 0, "exit with no error")
|
||||
harnessLogResult("P00 INFO: archive-push command end: completed successfully");
|
||||
|
||||
TEST_RESULT_INT(exitSafe(1, false, signalTypeNone), 1, "exit with no error")
|
||||
harnessLogResult("P00 INFO: archive-push command end: completed successfully");
|
||||
|
||||
// -------------------------------------------------------------------------------------------------------------------------
|
||||
TRY_BEGIN()
|
||||
{
|
||||
|
Reference in New Issue
Block a user