Skip to content

Commit

Permalink
xpadneo, installer: Fix option parser to not bubble up an error
Browse files Browse the repository at this point in the history
If `--verbose` not used, the last line of the option parser returns a
non-zero status. Fix it by reversing the logic.

See-also: #491 (comment)
Signed-off-by: Kai Krakow <kai@kaishome.de>
  • Loading branch information
kakra committed Dec 21, 2024
1 parent 788f004 commit be863e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/options.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ while true; do
shift
done

[ ${#V[*]} -gt 0 ] && set -x
[ ${#V[*]} -eq 0 ] || set -x

0 comments on commit be863e4

Please sign in to comment.