Skip to content

Commit

Permalink
Fix xml2-config error code
Browse files Browse the repository at this point in the history
Return an error code if called with an unknown option.
  • Loading branch information
nwellnhof committed Nov 11, 2019
1 parent d5f2f74 commit 2a357ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xml2-config.in
Expand Up @@ -97,8 +97,7 @@ while test $# -gt 0; do
;;

*)
usage
exit 1
usage 1
;;
esac
shift
Expand Down

0 comments on commit 2a357ab

Please sign in to comment.