From: intrigeri Date: Tue, 5 Jan 2010 13:31:57 +0000 (+0100) Subject: Fixed indentation X-Git-Tag: backupninja-0.9.7~11 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;ds=inline;h=172b0e3341cb60ffed14eea306373d696dacc600;p=matthijs%2Fupstream%2Fbackupninja.git Fixed indentation --- diff --git a/src/backupninja.in b/src/backupninja.in index f871e0c..34021b5 100755 --- a/src/backupninja.in +++ b/src/backupninja.in @@ -569,11 +569,11 @@ if [ $doit == 1 ]; then if [ "$reportspace" == "yes" ]; then previous="" for i in $(ls "$configdirectory"); do - backuploc=$(grep ^directory "$configdirectory"/"$i" | @AWK@ '{print $3}') - if [ "$backuploc" != "$previous" -a -n "$backuploc" ]; then - df -h "$backuploc" - previous="$backuploc" - fi + backuploc=$(grep ^directory "$configdirectory"/"$i" | @AWK@ '{print $3}') + if [ "$backuploc" != "$previous" -a -n "$backuploc" ]; then + df -h "$backuploc" + previous="$backuploc" + fi done fi } | mail -s "backupninja: $hostname $subject" $reportemail