diff options
Diffstat (limited to 'bin/pkg')
-rwxr-xr-x | bin/pkg | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -177,11 +177,7 @@ function confirm_yes { echo -n "$* [Y/n] " read -k 1 [[ $REPLY != $'\n' ]] && echo - if [[ $REPLY == 'y' || $REPLY == 'Y' || $REPLY == $'\n' ]] { - true - } else { - false - } + [[ $REPLY == 'y' || $REPLY == 'Y' || $REPLY == $'\n' ]] } # Default reply: No |