Fixed indentation

This commit is contained in:
intrigeri 2010-01-05 14:31:57 +01:00
parent b6fd3b231e
commit 172b0e3341

View File

@ -569,11 +569,11 @@ if [ $doit == 1 ]; then
if [ "$reportspace" == "yes" ]; then if [ "$reportspace" == "yes" ]; then
previous="" previous=""
for i in $(ls "$configdirectory"); do for i in $(ls "$configdirectory"); do
backuploc=$(grep ^directory "$configdirectory"/"$i" | @AWK@ '{print $3}') backuploc=$(grep ^directory "$configdirectory"/"$i" | @AWK@ '{print $3}')
if [ "$backuploc" != "$previous" -a -n "$backuploc" ]; then if [ "$backuploc" != "$previous" -a -n "$backuploc" ]; then
df -h "$backuploc" df -h "$backuploc"
previous="$backuploc" previous="$backuploc"
fi fi
done done
fi fi
} | mail -s "backupninja: $hostname $subject" $reportemail } | mail -s "backupninja: $hostname $subject" $reportemail