Merge pull request #1011 from bergware/master

Miscellaneous fixes and enhancements
This commit is contained in:
tom mortensen
2022-01-22 16:42:38 -08:00
committed by GitHub
4 changed files with 32 additions and 2 deletions
+1 -1
View File
@@ -309,7 +309,7 @@ if ($warn!="rw") {
// check docker image disk utilization
system('mountpoint -q /var/lib/docker', $retval);
if ($retval===0) {
if ($retval===0 && exec("df /var/lib/docker|grep -Po '^/dev/\Kloop'")) {
$item = 'system';
$name = 'docker';
$last = $saved[$item][$name] ?? '';