Browse Source

Fix diagnose

Philippe Caseiro 1 year ago
parent
commit
37342e8700
2 changed files with 4 additions and 2 deletions
  1. 2
    1
      diagnose/70-grafana
  2. 2
    1
      diagnose/70-prometheus

+ 2
- 1
diagnose/70-grafana View File

@@ -1,6 +1,7 @@
1 1
 #!/bin/bash
2 2
 
3
-if [ $(CreoleGet activer_grafana) = "oui" ];then
3
+if [[ $(CreoleGet activer_grafana) == "oui" ]]
4
+then
4 5
     . /usr/lib/eole/diagnose.sh
5 6
 
6 7
     EchoGras "*** Accès au serveur grafana"

+ 2
- 1
diagnose/70-prometheus View File

@@ -1,6 +1,7 @@
1 1
 #!/bin/bash
2 2
 
3
-if [ $(CreoleGet activer_prometheus) = "oui" ];then
3
+if [[ $(CreoleGet activer_prometheus) == "oui" ]]
4
+then
4 5
     . /usr/lib/eole/diagnose.sh
5 6
 
6 7
     EchoGras "*** Accès au serveur Prometheus"