Fix op_checkoccurencename() in web-add.sh

Ensure that we can add foo.net while having www.foo.net somewhere in out 
config files
This commit is contained in:
Ludovic Poujol 2019-08-26 11:20:44 +02:00
parent f7659cee6d
commit 9523fff658
1 changed files with 1 additions and 1 deletions

View File

@ -1075,7 +1075,7 @@ op_checkoccurencename() {
fi
done
echo "$servernames" "$aliases" | grep -w "$name"
echo "$servernames" "$aliases" | grep -wE "\s$name"
else
usage
fi