diff options
| author | intrigeri <intrigeri@boum.org> | 2006-05-30 03:41:39 +0000 | 
|---|---|---|
| committer | intrigeri <intrigeri@boum.org> | 2006-05-30 03:41:39 +0000 | 
| commit | 8776e3a3e37ee8a5b6d924dc202b61501c2afea7 (patch) | |
| tree | eadc8db837ca094995e6d999862044aaab46a31f /src | |
| parent | 098952b69d5b39ea27bbe544cd85345422d03d80 (diff) | |
| download | backupninja-8776e3a3e37ee8a5b6d924dc202b61501c2afea7.tar.gz backupninja-8776e3a3e37ee8a5b6d924dc202b61501c2afea7.tar.bz2 | |
ninjahelper: Recursively ignore subdirs in /etc/backup.d (Finally Closes: #361102)
Diffstat (limited to 'src')
| -rwxr-xr-x | src/ninjahelper.in | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/ninjahelper.in b/src/ninjahelper.in index 548b789..3aef3f6 100755 --- a/src/ninjahelper.in +++ b/src/ninjahelper.in @@ -257,7 +257,7 @@ while true; do  menulist=  action=  let "i = 1" -for file in `find $conf/etc/backup.d/ -type f | sort -n`; do +for file in `find $conf/etc/backup.d/ -mindepth 1 -maxdepth 1 -type f ! -name '.*.swp' | sort -n`; do     menulist="$menulist $i $file"     actions[$i]=$file     let "i += 1" | 
