aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--email-backup4
1 files changed, 2 insertions, 2 deletions
diff --git a/email-backup b/email-backup
index e8f8f2b..5fe4684 100644
--- a/email-backup
+++ b/email-backup
@@ -52,10 +52,10 @@
# required to fetch information from cloud
/ system backup cloud print as-value;
:if ([ / system backup cloud print count-only ] > 0) do={
- / system backup cloud remove-file [ find ];
+ / system backup cloud remove-file ([ find ]->0);
}
/ system backup cloud upload-file action=upload src-file=($FileName . ".backup");
- :set CloudStatus [ / system backup cloud get [ find ] secret-download-key ];
+ :set CloudStatus [ / system backup cloud get ([ find ]->0) secret-download-key ];
} on-error={
:set CloudStatus "failed";
}