diff --git a/wiki/macro/HostStatus.py b/wiki/macro/HostStatus.py index cb16e93c..548e665f 100644 --- a/wiki/macro/HostStatus.py +++ b/wiki/macro/HostStatus.py @@ -19,7 +19,7 @@ def execute(macro, text) : status = getstatusoutput('grep -v " 0 " /etc/autostatus/local.status') - if status[0] : + if status[0] and status[0] != 256 : return Cellule('Impossible d\'analyser le fichier de status.','yellow',macro.formatter) if not status[1].strip() :