aboutsummaryrefslogtreecommitdiff
path: root/kvm-status
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-05 20:49:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-05 20:49:24 -0300
commitd8bd926096ecf6d8c38453b6752088b8a10ca3b7 (patch)
treeccd6cdb6b0eda449afcd8324b013ed3de32c37f9 /kvm-status
parent56d05072e6225f95e523d735e3236e4461484a16 (diff)
downloadkvm-manager-d8bd926096ecf6d8c38453b6752088b8a10ca3b7.tar.gz
kvm-manager-d8bd926096ecf6d8c38453b6752088b8a10ca3b7.tar.bz2
Make coding style more uniform
Diffstat (limited to 'kvm-status')
-rwxr-xr-xkvm-status8
1 files changed, 4 insertions, 4 deletions
diff --git a/kvm-status b/kvm-status
index 9a2c6fc..a715e8c 100755
--- a/kvm-status
+++ b/kvm-status
@@ -18,10 +18,10 @@ function convert_ram {
echo "SERVER RAM"
total_ram=0
for foo in $(ls $dir); do
- ram=$(cat $dir/$foo/env/RAM)
- convert_ram "$ram"
- echo "$foo $display_ram"
- total_ram=$(( $total_ram + $display_ram ))
+ ram=$(cat $dir/$foo/env/RAM)
+ convert_ram "$ram"
+ echo "$foo $display_ram"
+ total_ram=$(( $total_ram + $display_ram ))
done
echo "TOTAL $total_ram"
} | column -t