diff --git a/emhttp/plugins/dynamix/include/update.encryption.php b/emhttp/plugins/dynamix/include/update.encryption.php index e5d1d85eb..7093bf7ce 100644 --- a/emhttp/plugins/dynamix/include/update.encryption.php +++ b/emhttp/plugins/dynamix/include/update.encryption.php @@ -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'));