mirror of
https://github.com/unraid/webgui.git
synced 2026-01-14 13:39:58 -06:00
VM Manager: clean up virtio-iso download progress
This commit is contained in:
@@ -543,17 +543,15 @@ switch ($action) {
|
||||
// Status = running extract
|
||||
$arrResponse['status'] = 'Cleanup ... ';
|
||||
|
||||
if (!pgrep($strExtractPgrep)) {
|
||||
// Examine md5 status
|
||||
$strMD5StatusContents = file_get_contents($strMD5StatusFile);
|
||||
// Examine md5 status
|
||||
$strMD5StatusContents = file_get_contents($strMD5StatusFile);
|
||||
|
||||
if (strpos($strMD5StatusContents, ': FAILED') !== false) {
|
||||
if (strpos($strMD5StatusContents, ': FAILED') !== false) {
|
||||
|
||||
// ERROR: MD5 check failed
|
||||
unset($arrResponse['status']);
|
||||
$arrResponse['error'] = 'MD5 verification failed, your download is incomplete or corrupted.';
|
||||
// ERROR: MD5 check failed
|
||||
unset($arrResponse['status']);
|
||||
$arrResponse['error'] = 'MD5 verification failed, your download is incomplete or corrupted.';
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
} else if (!file_exists($strMD5File)) {
|
||||
|
||||
Reference in New Issue
Block a user