diff options
author | Christian Hesse <mail@eworm.de> | 2020-10-13 20:46:30 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-10-13 20:46:30 +0200 |
commit | 0009c7fc656726af809b0015622d226467a5dbf7 (patch) | |
tree | 68ba802385f7e6141a0694be5f263a1638f4b647 | |
parent | 370d7c1a580cd59f2f6bc79b984a30c9fcf3b720 (diff) |
cloud-backup: add unit for size, add KiB
-rw-r--r-- | cloud-backup | 2 |
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") \ |