From 0009c7fc656726af809b0015622d226467a5dbf7 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 13 Oct 2020 20:46:30 +0200 Subject: cloud-backup: add unit for size, add KiB --- cloud-backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud-backup b/cloud-backup index f6f2d28..e1386f0 100644 --- a/cloud-backup +++ b/cloud-backup @@ -31,7 +31,7 @@ ("Uploaded backup for " . $Identity . " to cloud.\n\n" . \ [ $DeviceInfo ] . "\n\n" . \ "Name: " . $Cloud->"name" . "\n" . \ - "Size: " . $Cloud->"size" . "\n" . \ + "Size: " . $Cloud->"size" . " B (" . ($Cloud->"size" / 1024) . " KiB)\n" . \ "Download key: " . $Cloud->"secret-download-key") "" "true"; } on-error={ $SendNotification ([ $SymbolForNotification "warning-sign" ] . "Cloud backup failed") \ -- cgit v1.2.3-70-g09d2