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:
parent
e96d84caa6
commit
3df428871d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user