From 30d787b148eb9ac85d8b77f1ddc9c8b5d1070c04 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Mon, 1 Sep 2014 07:07:56 +0000 Subject: [PATCH] =?UTF-8?q?-e=20=C3=A0=20la=20place=20de=20-f=20:=20captur?= =?UTF-8?q?e=20les=20unix=20socket?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1778 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check b/check index b041108..1a37c46 100755 --- a/check +++ b/check @@ -311,7 +311,7 @@ function testFichierPresent # Si ce n'est pas le cas, relance le programme passé en deuxième paramètre if [ ! -e "/etc/init.d/$2" ]; then checklog "ERREUR : /etc/init.d/$2 introuvable (testFichierPresent)" - elif [ ! -f "$1" ]; then + elif [ ! -e "$1" ]; then checklog "ERREUR : Fichier $1 absent : relance $2" /etc/init.d/$2 stop /etc/init.d/$2 start