Xals : a merger dans la 1

Pb quand on créé "toto.fr" alors qu'on a déjà créé "pouet.toto.fr"
This commit is contained in:
Alan Garcia 2011-09-02 15:59:25 +00:00
parent c0ada4eeca
commit 0ff2574ddd
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ dns_named_conf() {
return 1
fi
grep -q "$domain" "$NAMED_CONF"
grep -q "\"$domain\"" "$NAMED_CONF"
if [ $? -ne 0 ] ; then
local tempo=$(cat "$NAMED_TEMPLATE")
tempo=${tempo/@@DOMAINE@@/$domain}