mirror of
https://github.com/unraid/webgui.git
synced 2026-01-06 09:39:58 -06:00
Update update.encryption.php
This commit is contained in:
@@ -29,7 +29,7 @@ foreach (glob('/dev/disk/by-id/*CRYPT-LUKS*', GLOB_NOSORT) as $disk) {
|
||||
$disk = explode('-',$disk);
|
||||
$crypto[] = array_pop($disk);
|
||||
}
|
||||
if (count($crypto) == 0) die();
|
||||
if (count($crypto) == 0) reply(_('No encrypted disks found'),'warning');
|
||||
|
||||
function delete_file(...$file) {
|
||||
array_map('unlink', array_filter($file,'is_file'));
|
||||
|
||||
Reference in New Issue
Block a user