aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-06-05 14:50:55 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-06-05 15:05:43 +0200
commitcd4ac2c0881f92327ce173f2294b066ca4bc2ba2 (patch)
tree86a8f976e43756cfa1ad43cd0e8533d66dd68e93
parente35ba4b06ce300b698a8bf684503437961e1343a (diff)
backup-cloud: log note on previous connection errors
-rw-r--r--backup-cloud.rsc4
1 files changed, 4 insertions, 0 deletions
diff --git a/backup-cloud.rsc b/backup-cloud.rsc
index 88dd345..8f5575e 100644
--- a/backup-cloud.rsc
+++ b/backup-cloud.rsc
@@ -66,6 +66,10 @@
} while=([ $WaitForFile "tmpfs/backup-cloud/done" 200ms ] = false && $I > 0);
:if ([ $WaitForFile "tmpfs/backup-cloud/done" ] = true) do={
+ :if ($I < 4) do={
+ :log warning ($ScriptName . ": Retry successful, please discard previous connection errors.");
+ }
+
:local Cloud [ /system/backup/cloud/get ([ find ]->0) ];
$SendNotification2 ({ origin=$ScriptName; \