mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-18 04:58:51 +02:00
Fix directory syncs running recursively when only the specified directory should be synced.
Reported by Craig A. James.
This commit is contained in:
parent
46b6be6d72
commit
5890272247
@ -14,6 +14,16 @@
|
||||
<release-list>
|
||||
<release date="XXXX-XX-XX" version="2.02dev" title="UNDER DEVELOPMENT">
|
||||
<release-core-list>
|
||||
<release-bug-list>
|
||||
<release-item>
|
||||
<release-item-contributor-list>
|
||||
<release-item-ideator id="james.craig"/>
|
||||
</release-item-contributor-list>
|
||||
|
||||
<p>Fix directory syncs running recursively when only the specified directory should be synced.</p>
|
||||
</release-item>
|
||||
</release-bug-list>
|
||||
|
||||
<release-development-list>
|
||||
<release-item>
|
||||
<p>Storage object improvements. Convert all functions to variadic functions. Enforce read-only storage. Add <code>storageLocalWrite()</code> helper function. Add <code>storageExists()</code>, <code>storagePathCreate()</code>, <code>storageRemove()</code>, and <code>storageStat()</code>. Add <code>StorageFile</code> object and <code>storageOpenRead()</code>/<code>storageOpenWrite()</code>.</p>
|
||||
|
@ -750,7 +750,7 @@ sub pathSync
|
||||
{name => 'bRecurse', default => false},
|
||||
);
|
||||
|
||||
$self->driver()->pathSync($self->pathGet($strPathExp), {bRecurse => true});
|
||||
$self->driver()->pathSync($self->pathGet($strPathExp), {bRecurse => $bRecurse});
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn($strOperation);
|
||||
|
Loading…
x
Reference in New Issue
Block a user