Handle cases when gipfl/linux-health returns false instead of memory usage.
This commit is contained in:
parent
75b73604a8
commit
4b229c122c
|
@ -114,7 +114,7 @@ class BackgroundDaemonDetails extends BaseHtmlElement
|
|||
$pid
|
||||
],
|
||||
Html::tag('pre', $process->command),
|
||||
Format::bytes($process->memory->rss)
|
||||
$process->memory === false ? 'n/a' : Format::bytes($process->memory->rss)
|
||||
]));
|
||||
}
|
||||
$this->add($table);
|
||||
|
|
Loading…
Reference in New Issue