mirror of
https://github.com/unraid/webgui.git
synced 2026-01-05 17:20:04 -06:00
Update vm_dashusage
Fix vm_dashusage processing when array not started.
This commit is contained in:
@@ -41,10 +41,12 @@ if ($var['fsState'] == "Started" || $var['fsState'] == "Starting") {
|
||||
sleep(10);
|
||||
} elseif ($domain_cfg['SERVICE'] != "enable") {
|
||||
#Add remove_nchan_pid_entry("webGui/nchan/vm_dashusage");
|
||||
exec("sed -i '/webGui\/nchan\/vm_dashusage/d' /var/run/nchan.pid");
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
#Add remove_nchan_pid_entry("webGui/nchan/vm_dashusage");
|
||||
exec("sed -i '/webGui\/nchan\/vm_dashusage/d' /var/run/nchan.pid");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user