aboutsummaryrefslogtreecommitdiff
path: root/src/backupninja.in
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2007-10-12 17:42:46 +0000
committerintrigeri <intrigeri@boum.org>2007-10-12 17:42:46 +0000
commit846213cfa48e026bdd7cacaebd46973207a809ba (patch)
tree555cd992fd41c41103c19717bbe0545fe0734136 /src/backupninja.in
parenta906ba01c74b53036444e404fccb356bfb73850e (diff)
downloadbackupninja-846213cfa48e026bdd7cacaebd46973207a809ba.tar.gz
backupninja-846213cfa48e026bdd7cacaebd46973207a809ba.tar.bz2
Fixed reportspace option (Trac#10)
Diffstat (limited to 'src/backupninja.in')
-rwxr-xr-xsrc/backupninja.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backupninja.in b/src/backupninja.in
index 0cd186a..34c0bd6 100755
--- a/src/backupninja.in
+++ b/src/backupninja.in
@@ -546,10 +546,9 @@ 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
+ fi
done
fi
} | mail -s "backupninja: $hostname $subject" $reportemail