mirror of
https://github.com/dockur/windows.git
synced 2026-08-25 08:09:04 +01:00
fix: Migrate Win9x machine type (#2126)
This commit is contained in:
+1
-5
@@ -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!"
|
||||
|
||||
Reference in New Issue
Block a user