summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index 63448b1..99296d8 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -187,7 +187,7 @@ function confirm_yes {
echo -n "$* [Y/n] "
read -k 1
[[ $REPLY != $'\n' ]] && echo
- [[ $REPLY == 'y' || $REPLY == 'Y' || $REPLY == $'\n' ]]
+ [[ $REPLY == (y|Y|$'\n') ]]
}
# Default reply: No