Fix get_template output

This commit is contained in:
Brice Waegeneire 2020-10-13 10:59:25 +02:00
parent 5b4826bacc
commit a17df0c610
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ get_htaccess() {
# phpmyadmin or the default vhost template for example.
get_template() {
template_dirs="/etc /usr/share/scripts"
grep -RE '^[[:space:]]*(Order|Allow|Deny|Satisfy)[[:space:]]' \
grep -lRE '^[[:space:]]*(Order|Allow|Deny|Satisfy)[[:space:]]' \
--exclude-dir=apache2 --exclude-dir=squid3 $template_dirs \
|| true
}