diff options
Diffstat (limited to 'src')
-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 |