fix: Returnvalue

This commit is contained in:
Kroese 2024-04-24 07:17:19 +02:00 committed by GitHub
parent cd98d48d8f
commit 8a5518aecd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -423,8 +423,7 @@ extractImage() {
local size size_gb space space_gb local size size_gb space space_gb
if [[ "${iso,,}" == *".esd" ]]; then if [[ "${iso,,}" == *".esd" ]]; then
extractESD "$iso" "$dir" && return 0 return extractESD "$iso" "$dir"
return 1
fi fi
if [[ "$EXTERNAL" != [Yy1]* ]] && [ -z "$CUSTOM" ]; then if [[ "$EXTERNAL" != [Yy1]* ]] && [ -z "$CUSTOM" ]; then