summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElisa Sohier <elisa.sohier@art-software.fr>2020-05-21 13:17:48 +0200
committerElisa Sohier <elisa.sohier@art-software.fr>2020-05-21 13:17:48 +0200
commit297a693850acbf95f7f7df084371463e95dcaf14 (patch)
tree553c1033985e17951e3c91d1ed2af3b132faacfa
parentd7355c7c30428d057ce8ceb79556269e7c51c531 (diff)
Don't ignore next targets on rsync errorHEADmaster
-rw-r--r--autosync/__init__.py4
1 files changed, 2 insertions, 2 deletions
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")