diff --git a/inventory.sh b/inventory.sh index 6f0721a..d577629 100755 --- a/inventory.sh +++ b/inventory.sh @@ -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 }