pash: simplify y/n

This commit is contained in:
Dylan Araps 2019-11-28 18:48:17 +00:00
parent 4996cec081
commit 9b83d599f0
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 1 deletions

2
pash
View File

@ -94,7 +94,7 @@ yn() {
# Handle the answer here directly, enabling this function's
# return status to be used in place of checking for '[yY]'
# throughout this program.
glob "$answer" '[yY]' || return 1 && return 0
glob "$answer" '[yY]'
}
glob() {