From 2ffc59f626ea2377b55f8b2412b7936b4ff5f876 Mon Sep 17 00:00:00 2001 From: idziubenko Date: Tue, 14 Dec 2021 12:36:32 +0300 Subject: [PATCH] FEAT: added exception for rsync error 24 --- pym/client/rsync.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pym/client/rsync.py b/pym/client/rsync.py index db3c7bb..3052147 100644 --- a/pym/client/rsync.py +++ b/pym/client/rsync.py @@ -83,6 +83,8 @@ class ProfileSyncer(): else: self.output = self.process.before self.process.close() - self.exitstatus = self.process.exitstatus + existatus = self.process.exitstatus + #error 24 - "files vanished" is not fatal + self.exitstatus = existatus if existatus != 24 else 0 yield 100 break