Skip to content
Snippets Groups Projects
Commit e1235460 authored by Tibo's avatar Tibo
Browse files

return correct status

parent 14335ee6
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ class Ssacli extends \App\AbstractSensor {
public function status() {
$record = $this->getLastRecord("ssacli");
if ($record == null) {
self::STATUS_UNKNOWN;
return self::STATUS_UNKNOWN;
}
$disks = $this->parse($record->ssacli);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment