Skip to content

Commit

Permalink
Do not abort sync on normal error.
Browse files Browse the repository at this point in the history
Signed-off-by: alex-z <blackslayer4@gmail.com>
  • Loading branch information
allexzander committed Aug 31, 2023
1 parent ec9b940 commit f0ab1d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libsync/owncloudpropagator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1330,6 +1330,7 @@ void PropagateDirectory::slotFirstJobFinished(SyncFileItem::Status status)
_firstJob.take()->deleteLater();

if (status != SyncFileItem::Success
&& status != SyncFileItem::NormalError
&& status != SyncFileItem::Restoration
&& status != SyncFileItem::Conflict) {
if (_state != Finished) {
Expand Down Expand Up @@ -1484,6 +1485,7 @@ void PropagateRootDirectory::slotSubJobsFinished(SyncFileItem::Status status)
}

if (status != SyncFileItem::Success
&& status != SyncFileItem::NormalError
&& status != SyncFileItem::Restoration
&& status != SyncFileItem::BlacklistedError
&& status != SyncFileItem::FileNameClash
Expand Down

0 comments on commit f0ab1d3

Please sign in to comment.