You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-09-16 09:06:18 +02:00
Fix incorrect storage for rendering errors.
Coverity complained of a copy/paste error here, but the actual error was what it took to be the correct "copied from" code. In any case, the prior code would have blown up as soon as a new error type was added. Fix by updating to the writable build storage.
This commit is contained in:
@@ -67,7 +67,7 @@ main(const int argListSize, const char *const argList[])
|
||||
|
||||
// Error
|
||||
if (strEqZ(STRDEF("error"), argList[1]))
|
||||
bldErrRender(storageRepo, bldErrParse(storageRepo));
|
||||
bldErrRender(storageBuild, bldErrParse(storageRepo));
|
||||
|
||||
// Help
|
||||
if (strEqZ(STRDEF("help"), argList[1]))
|
||||
|
Reference in New Issue
Block a user