diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-06-05 20:49:24 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-06-05 20:49:24 -0300 |
commit | d8bd926096ecf6d8c38453b6752088b8a10ca3b7 (patch) | |
tree | ccd6cdb6b0eda449afcd8324b013ed3de32c37f9 /kvm-status | |
parent | 56d05072e6225f95e523d735e3236e4461484a16 (diff) | |
download | kvm-manager-d8bd926096ecf6d8c38453b6752088b8a10ca3b7.tar.gz kvm-manager-d8bd926096ecf6d8c38453b6752088b8a10ca3b7.tar.bz2 |
Make coding style more uniform
Diffstat (limited to 'kvm-status')
-rwxr-xr-x | kvm-status | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |