From be863e4c3f9102aa9d979c48dabce559fcd73d36 Mon Sep 17 00:00:00 2001 From: Kai Krakow Date: Sat, 21 Dec 2024 05:29:33 +0100 Subject: [PATCH] xpadneo, installer: Fix option parser to not bubble up an error If `--verbose` not used, the last line of the option parser returns a non-zero status. Fix it by reversing the logic. See-also: https://github.com/atar-axis/xpadneo/issues/491#issuecomment-2557965593 Signed-off-by: Kai Krakow --- lib/options.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/options.sh b/lib/options.sh index d421748f..225cb385 100644 --- a/lib/options.sh +++ b/lib/options.sh @@ -32,4 +32,4 @@ while true; do shift done -[ ${#V[*]} -gt 0 ] && set -x +[ ${#V[*]} -eq 0 ] || set -x