Fix get_template output
This commit is contained in:
parent
5b4826bacc
commit
a17df0c610
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue