mirror of
https://github.com/dockur/windows.git
synced 2025-12-21 06:31:45 +00:00
revert: Simplify conditional checks
This commit is contained in:
parent
465d0065b9
commit
425a661c93
@ -452,7 +452,7 @@ getESD() {
|
||||
winCatalog=$(getCatalog "$version" "url")
|
||||
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
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user