From 1d98f065dc70672c451c581cd63609359da38391 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 15 Aug 2026 16:10:56 +0200 Subject: [PATCH] fix: Find nested ISO files recursively (#2144) --- src/image.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/image.sh b/src/image.sh index 5995caf1..7d4ec327 100644 --- a/src/image.sh +++ b/src/image.sh @@ -464,8 +464,8 @@ extractImage() { else - # Locate the first root-level ISO in the downloaded archive - if ! file=$(find "$archive" -maxdepth 1 -type f -iname "*.iso" -print -quit); then + # Locate the first ISO anywhere in the downloaded archive + if ! file=$(find "$archive" -type f -iname "*.iso" -print -quit); then error "Failed to search for a nested ISO in the extracted archive!" return 1 fi