summaryrefslogtreecommitdiff
path: root/src/util.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.sh')
-rw-r--r--src/util.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.sh b/src/util.sh
index 871fe2a..6a2dfe9 100644
--- a/src/util.sh
+++ b/src/util.sh
@@ -91,7 +91,7 @@ wait_for_extract () {
prompt_question () {
$NOCONFIRM && return 0
printf "$1 [Y/n] "
- read response
+ read var
[ "${var%${var#?}}"x != 'nx' ]
}