From 0ff2574dddba69f81007df10cfce19bac670da61 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Fri, 2 Sep 2011 15:59:25 +0000 Subject: [PATCH] Xals : a merger dans la 1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pb quand on créé "toto.fr" alors qu'on a déjà créé "pouet.toto.fr" --- src/functions_dns.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions_dns.sh b/src/functions_dns.sh index ef0aebca..de5b4e97 100755 --- a/src/functions_dns.sh +++ b/src/functions_dns.sh @@ -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}