revert: Simplify conditional checks

This commit is contained in:
Kroese 2025-09-21 23:11:56 +02:00 committed by GitHub
parent 465d0065b9
commit 425a661c93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -452,7 +452,7 @@ getESD() {
winCatalog=$(getCatalog "$version" "url") winCatalog=$(getCatalog "$version" "url")
editionName=$(getCatalog "$version" "edition") editionName=$(getCatalog "$version" "edition")
if [ -z "$file" || -z "$winCatalog" || -z "$editionName" ]; then if [ -z "$file" ] || [ -z "$winCatalog" ] || [ -z "$editionName" ]; then
error "Invalid VERSION specified, value \"$version\" is not recognized!" && return 1 error "Invalid VERSION specified, value \"$version\" is not recognized!" && return 1
fi fi