mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-10 12:52:40 +01:00
Fixed indentation
This commit is contained in:
parent
b6fd3b231e
commit
172b0e3341
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user