git-svn-id: http://code.autistici.org/svn/backupninja/trunk@480
758a04ac-41e6-0310-8a23-
8373a73cc35d
. Enhanced portability for other platforms
. Fixed Trac#11 (quoting needed to prevent shell expansion, broke the
toint function sometimes)
+ . Fixed reportspace option (Trac#10)
handler changes
ldap:
. Fixed shell command quoting issues, missing 'then' clauses, cleaned up
for i in $(ls "$configdirectory"); do
backuploc=$(grep ^directory "$configdirectory"/"$i" | @AWK@ '{print $3}')
if [ "$backuploc" != "$previous" ]; then
- mountdev=$(mount | grep "$backuploc" | @AWK@ '{print $1}')
- df -h "$mountdev"
+ df -h "$backuploc"
previous="$backuploc"
- fi
+ fi
done
fi
} | mail -s "backupninja: $hostname $subject" $reportemail