diff options
author | intrigeri <intrigeri@boum.org> | 2006-04-08 10:44:55 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2006-04-08 10:44:55 +0000 |
commit | 5158f2569fd252617dfbfc8f50a540640285d32b (patch) | |
tree | 28614bcd72372125dcc3986d844f82f941f3ad92 | |
parent | 6d7328c51bc6cc69131417a6d0c756d033d5a6da (diff) | |
download | backupninja-5158f2569fd252617dfbfc8f50a540640285d32b.tar.gz backupninja-5158f2569fd252617dfbfc8f50a540640285d32b.tar.bz2 |
Recursively ignore subdirs in /etc/backup.d (Closes: #361102)
-rw-r--r-- | ChangeLog | 2 | ||||
-rwxr-xr-x | src/backupninja.in | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 |