From d8bd926096ecf6d8c38453b6752088b8a10ca3b7 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 5 Jun 2016 20:49:24 -0300 Subject: Make coding style more uniform --- kvm-status | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kvm-status') 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 -- cgit v1.2.3