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.
|
# phpmyadmin or the default vhost template for example.
|
||||||
get_template() {
|
get_template() {
|
||||||
template_dirs="/etc /usr/share/scripts"
|
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 \
|
--exclude-dir=apache2 --exclude-dir=squid3 $template_dirs \
|
||||||
|| true
|
|| true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue