mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 11:25:49 +00:00
revert: Simplify conditional checks
This commit is contained in:
parent
465d0065b9
commit
425a661c93
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue