From 425a661c93fa34218d90a5012c628f4c46e688dd Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 21 Sep 2025 23:11:56 +0200 Subject: [PATCH] revert: Simplify conditional checks --- src/mido.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mido.sh b/src/mido.sh index 49bc732..4c01efc 100644 --- a/src/mido.sh +++ b/src/mido.sh @@ -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