email-backup: print to update from cloud

This commit is contained in:
Christian Hesse 2019-01-04 14:14:37 +01:00
parent c3f27bf776
commit 698bed2bbc

View file

@ -43,6 +43,9 @@
# upload to cloud
:if ($BackupCloud = true) do={
:do {
# we are not interested in output, but print without count-only is
# required to fetch information from cloud
/ system backup cloud print;
:if ([ / system backup cloud print count-only ] > 0) do={
/ system backup cloud remove-file [ find ];
}