diff options
author | intrigeri <intrigeri@boum.org> | 2008-07-28 17:12:31 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2008-07-28 17:12:31 +0000 |
commit | c4f2b1d45ecbd76342d124768b09f9f26a3b6770 (patch) | |
tree | 4c0187ab6f0e0a7d24fde4a56ff8882c81cc220d /src/backupninja.in | |
parent | 351369b874f32e2371e083f3a17abae45729af79 (diff) | |
download | backupninja-c4f2b1d45ecbd76342d124768b09f9f26a3b6770.tar.gz backupninja-c4f2b1d45ecbd76342d124768b09f9f26a3b6770.tar.bz2 |
fix reportspace
Diffstat (limited to 'src/backupninja.in')
-rwxr-xr-x | src/backupninja.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backupninja.in b/src/backupninja.in index 47630f2..25f4e11 100755 --- a/src/backupninja.in +++ b/src/backupninja.in @@ -561,7 +561,7 @@ if [ $doit == 1 ]; then previous="" for i in $(ls "$configdirectory"); do backuploc=$(grep ^directory "$configdirectory"/"$i" | @AWK@ '{print $3}') - if [ "$backuploc" != "$previous" ]; then + if [ "$backuploc" != "$previous" -a -n "$backuploc" ]; then df -h "$backuploc" previous="$backuploc" fi |