fix: Migrate Win9x machine type (#2126)

This commit is contained in:
Kroese
2026-08-10 07:10:13 +02:00
committed by GitHub
parent 5b9a376111
commit 9ef6f3c4ca
4 changed files with 166 additions and 151 deletions
+1 -5
View File
@@ -1360,11 +1360,7 @@ detectIsoImage() {
# Return 1 only when no directly inspectable WIM/ESD payload is available so
# the caller may extract the media. Metadata parsing/configuration errors use 2.
image=$(findIsoImage "$iso") || {
rc=$?
enabled "$DEBUG" && echo "ISO image lookup failed (status $rc)." >&2
return "$rc"
}
image=$(findIsoImage "$iso") || return $?
header=$(readWimHeader "$iso" "$image") || {
error "Failed to read the Windows image header!"