Now ignores vim's .swp files in /etc/backup.d/
[matthijs/upstream/backupninja.git] / backupninja
index 59361b30ae7d004f0768bc48047f2c59967408f0..e5c55aea505aef9912feafa5cb91ddc95fe42465 100755 (executable)
@@ -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