From 37342e870037f6ca89d8b942107eafc75fdac26e Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Mon, 11 Jun 2018 09:35:28 +0200 Subject: [PATCH] Fix diagnose --- diagnose/70-grafana | 3 ++- diagnose/70-prometheus | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/diagnose/70-grafana b/diagnose/70-grafana index f674512..9269cd7 100644 --- a/diagnose/70-grafana +++ b/diagnose/70-grafana @@ -1,6 +1,7 @@ #!/bin/bash -if [ $(CreoleGet activer_grafana) = "oui" ];then +if [[ $(CreoleGet activer_grafana) == "oui" ]] +then . /usr/lib/eole/diagnose.sh EchoGras "*** Accès au serveur grafana" diff --git a/diagnose/70-prometheus b/diagnose/70-prometheus index 3aed96b..ab472bf 100644 --- a/diagnose/70-prometheus +++ b/diagnose/70-prometheus @@ -1,6 +1,7 @@ #!/bin/bash -if [ $(CreoleGet activer_prometheus) = "oui" ];then +if [[ $(CreoleGet activer_prometheus) == "oui" ]] +then . /usr/lib/eole/diagnose.sh EchoGras "*** Accès au serveur Prometheus"