Skip to content

Commit

Permalink
Treat 0 and - as false only if no symbol follows
Browse files Browse the repository at this point in the history
  • Loading branch information
vaeth committed May 26, 2017
1 parent 48bd7e8 commit eb08361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/openrc-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ veoutdent() {

yesno() {
case ${1:-n} in
[nNFf0-]*|[oO][fF]*)
[nNfF]*|[oO][fF]*|0|-)
return 1;;
esac
:
Expand Down

0 comments on commit eb08361

Please sign in to comment.