aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbackupninja2
1 files changed, 1 insertions, 1 deletions
diff --git a/backupninja b/backupninja
index 59361b3..e5c55ae 100755
--- a/backupninja
+++ b/backupninja
@@ -479,7 +479,7 @@ errormsg=""
if [ "$singlerun" ]; then
files=$singlerun
else
- files=`find $configdirectory -mindepth 1 | sort -n`
+ files=`find $configdirectory ! -name '.*.swp' -mindepth 1 | sort -n`
fi
for file in $files; do