Recursively ignore subdirs in /etc/backup.d (Closes: #361102)

This commit is contained in:
intrigeri 2006-04-08 10:44:55 +00:00
parent 6d7328c51b
commit 5158f2569f
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
version 0.9.4 -- unreleased
backupninja changes
Recursively ignore subdirs in /etc/backup.d (Closes: #361102)
handler changes
mysql:
. Fixed improper use of $vuserhome (Debian: #351083)

View File

@ -455,7 +455,7 @@ errormsg=""
if [ "$singlerun" ]; then
files=$singlerun
else
files=`find $configdirectory -mindepth 1 ! -name '.*.swp' | sort -n`
files=`find $configdirectory -mindepth 1 -maxdepth 1 -type f ! -name '.*.swp' | sort -n`
fi
for file in $files; do