mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-10 12:52:40 +01:00
Fixed reportspace option (Trac#10)
This commit is contained in:
parent
a906ba01c7
commit
846213cfa4
@ -12,6 +12,7 @@ version 0.9.5 -- unreleased
|
||||
. 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
|
||||
|
@ -546,8 +546,7 @@ if [ $doit == 1 ]; then
|
||||
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
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user