From: intrigeri Date: Sat, 8 Apr 2006 10:44:55 +0000 (+0000) Subject: Recursively ignore subdirs in /etc/backup.d (Closes: #361102) X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=f35864670574fb10ffdaf8726bee60c70762be7a;p=matthijs%2Fupstream%2Fbackupninja.git Recursively ignore subdirs in /etc/backup.d (Closes: #361102) git-svn-id: http://code.autistici.org/svn/backupninja/trunk@381 758a04ac-41e6-0310-8a23-8373a73cc35d --- diff --git a/ChangeLog b/ChangeLog index 5c23aa9..b1db818 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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) diff --git a/src/backupninja.in b/src/backupninja.in index b0766eb..2835a3c 100755 --- a/src/backupninja.in +++ b/src/backupninja.in @@ -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