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:
parent
4e1b74688d
commit
aecc0f737e
@ -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>
|
||||
|
@ -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)
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user