1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00

Fixed a few directory syncs that were missed for the --repo-sync option.

This commit is contained in:
David Steele 2016-12-19 14:40:22 -05:00
parent 4e1b74688d
commit aecc0f737e
3 changed files with 5 additions and 4 deletions

View File

@ -143,6 +143,10 @@
<p>Fixed const assignment giving compiler warning in C library.</p>
</release-item>
<release-item>
<p>Fixed a few directory syncs that were missed for the <br-option>--repo-sync</br-option> option.</p>
</release-item>
</release-bug-list>
</release-core-list>
</release>

View File

@ -851,7 +851,7 @@ sub process
my $strFileName = $oFileLocal->pathGet(PATH_BACKUP_TMP, $strFile);
# Write content out to a file
fileStringWrite($strFileName, $$oFileHash{$strFile});
fileStringWrite($strFileName, $$oFileHash{$strFile}, false);
# Compress if required
if ($bCompress)

View File

@ -330,9 +330,6 @@ sub iniSave
confess &log(ERROR, "unable to move ${strFileTemp} to ${strFileName}", ERROR_FILE_MOVE);
}
# Sync the directory to make sure the changes stick
filePathSync(dirname($strFileName));
# Return from function and log return values if any
return logDebugReturn($strOperation);
}