aboutsummaryrefslogtreecommitdiffstats
path: root/cloud-backup
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-10-13 20:46:30 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-10-13 20:46:30 +0200
commit0009c7fc656726af809b0015622d226467a5dbf7 (patch)
tree68ba802385f7e6141a0694be5f263a1638f4b647 /cloud-backup
parent370d7c1a580cd59f2f6bc79b984a30c9fcf3b720 (diff)
cloud-backup: add unit for size, add KiB
Diffstat (limited to 'cloud-backup')
-rw-r--r--cloud-backup2
1 files changed, 1 insertions, 1 deletions
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") \