Browse Source

tools/qvm-ls: clarify that disk usage is in percents

Marek Marczykowski-Górecki 6 years ago
parent
commit
8584ca4057
1 changed files with 1 additions and 1 deletions
  1. 1 1
      qubesadmin/tools/qvm_ls.py

+ 1 - 1
qubesadmin/tools/qvm_ls.py

@@ -325,7 +325,7 @@ def calc_used(vm, volume_name):
     if size == 0:
         return 0
     usage = calc_usage(vm, volume_name)
-    return usage * 100 // size
+    return '{}%'.format(usage * 100 // size)
 
 
 # todo maxmem