From 49e18ced0bfdd08b790e3208d0afbe8b20b1a1c3 Mon Sep 17 00:00:00 2001 From: bergware Date: Fri, 30 May 2025 02:19:08 +0200 Subject: [PATCH] Update update.encryption.php --- emhttp/plugins/dynamix/include/update.encryption.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'));