1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-11 11:41:33 +02:00

[Issue #271] minor fix

This commit is contained in:
Grigory Smolkin 2020-10-29 11:05:07 +03:00
parent e96d84caa6
commit 3df428871d

View File

@ -121,7 +121,7 @@ write_backup_status(pgBackup *backup, BackupStatus status,
}
/* overwrite control file only if status has changed */
if (backup->status == status)
if (tmp->status == status)
{
pgBackupFree(tmp);
return;