diff options
-rw-r--r-- | modules-available/systemstatus/inc/systemstatus.inc.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules-available/systemstatus/inc/systemstatus.inc.php b/modules-available/systemstatus/inc/systemstatus.inc.php index f6d18801..36b4ef36 100644 --- a/modules-available/systemstatus/inc/systemstatus.inc.php +++ b/modules-available/systemstatus/inc/systemstatus.inc.php @@ -45,6 +45,13 @@ class SystemStatus // Record what's mounted at destination, regardless of config, to indicate something is wrong if ($entry['mountPoint'] === CONFIG_VMSTORE_DIR) { $currentSource = $entry['fileSystem']; + + // If internal/local storage is used but there is a mount on CONFIG_VMSTORE_DIR, + // we assume it's on purpose like a second hdd and use that + if ($wantedSource === '<local>') { + $wantedSource = $currentSource; + $storeUsage = $entry; + } } } return true; |