diff options
Diffstat (limited to 'src/ninjahelper.in')
-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" |