diff --git a/ecrire/inc/acces.php b/ecrire/inc/acces.php
index 0a62d008c292c9e9b6f744990a96102ebcceeca2..ff6a1373cb631cba8f48937f404b1fb01f5e89eb 100644
--- a/ecrire/inc/acces.php
+++ b/ecrire/inc/acces.php
@@ -197,15 +197,12 @@ function verifier_htaccess($rep) {
 	    !defined('_ECRIRE_INSTALL') AND !defined('_TEST_DIRS')) {
 		spip_log("demande de creation de $htaccess");
 		if ($_SERVER['SERVER_ADMIN'] != 'www@nexenservices.com'){
-			if (!$f = fopen($htaccess, "w"))
-				echo "<b>" .
-				  "ECHEC DE LA CREATION DE $htaccess" . # ne pas traduire
-				  "</b>";
-			else
-			  {
+			if (!$f = @fopen($htaccess, "w")) {
+				spip_log("ECHEC DE LA CREATION DE $htaccess"); # ne pas traduire
+			} else {
 				fputs($f, "deny from all\n");
 				fclose($f);
-			  }
+			}
 		} else {
 			echo "<font color=\"#FF0000\">IMPORTANT : </font>";
 			echo "Votre h&eacute;bergeur est Nexen Services.<br />";