aboutsummaryrefslogtreecommitdiff
path: root/src/backupninja.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/backupninja.in')
-rwxr-xr-xsrc/backupninja.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backupninja.in b/src/backupninja.in
index 34021b5..c3ec7ed 100755
--- a/src/backupninja.in
+++ b/src/backupninja.in
@@ -570,7 +570,7 @@ if [ $doit == 1 ]; then
previous=""
for i in $(ls "$configdirectory"); do
backuploc=$(grep ^directory "$configdirectory"/"$i" | @AWK@ '{print $3}')
- if [ "$backuploc" != "$previous" -a -n "$backuploc" ]; then
+ if [ "$backuploc" != "$previous" -a -n "$backuploc" -a -d "$backuploc" ]; then
df -h "$backuploc"
previous="$backuploc"
fi