Skip to content

Commit 3df4288

Browse files
committed
[Issue #271] minor fix
1 parent e96d84c commit 3df4288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/catalog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ write_backup_status(pgBackup *backup, BackupStatus status,
121121
}
122122

123123
/* overwrite control file only if status has changed */
124-
if (backup->status == status)
124+
if (tmp->status == status)
125125
{
126126
pgBackupFree(tmp);
127127
return;

0 commit comments

Comments
 (0)