diff --git a/src/fr/devinsy/statoolinfos/uptime/UptimeStat.java b/src/fr/devinsy/statoolinfos/uptime/UptimeStat.java index 650138c..57c423d 100644 --- a/src/fr/devinsy/statoolinfos/uptime/UptimeStat.java +++ b/src/fr/devinsy/statoolinfos/uptime/UptimeStat.java @@ -81,10 +81,14 @@ public class UptimeStat { result = UptimeStatus.WARNING; } - else + else if (this.okCount == 0) { result = UptimeStatus.ERROR; } + else + { + result = UptimeStatus.ALERT; + } } else {