Do not list evoadmin in the vhost list

Fixes #34
This commit is contained in:
Ludovic Poujol 2018-12-11 15:30:06 +01:00
parent 5fe9762c53
commit 8429351213
1 changed files with 1 additions and 1 deletions

View File

@ -737,7 +737,7 @@ op_listvhost() {
for configfile in $configlist; do
if [ -r "$configfile" ] && echo "$configfile" |grep -qvE "/(000-default|default-ssl)\\.conf$"; then
if [ -r "$configfile" ] && echo "$configfile" |grep -qvE "/(000-default|default-ssl|evoadmin)\\.conf$"; then
servername="$(awk '/^[[:space:]]*ServerName (.*)/ { print $2 }' "$configfile" | head -n 1)"
serveraliases="$(perl -ne 'print "$1 " if /^[[:space:]]*ServerAlias (.*)/' "$configfile" | head -n 1)"
serveraliases="${serveraliases// \+/,}"