From 297a693850acbf95f7f7df084371463e95dcaf14 Mon Sep 17 00:00:00 2001 From: Elisa Sohier Date: Thu, 21 May 2020 13:17:48 +0200 Subject: Don't ignore next targets on rsync error --- autosync/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'autosync/__init__.py') diff --git a/autosync/__init__.py b/autosync/__init__.py index b1c695e..00b2197 100644 --- a/autosync/__init__.py +++ b/autosync/__init__.py @@ -167,8 +167,8 @@ def run(): with open(os.path.join(src, ".lastsync"), "w") as f: f.write(str(time.time())) if status != 0 and status is not None: - log(4, "sync {}@{}".format(name, tabname), "Error while syncing target, aborting") - return + log(4, "sync {}@{}".format(name, tabname), "Error while syncing target") + continue if os.path.exists("/tmp/source.ts"): os.unlink("/tmp/source.ts") -- cgit v1.2.3