diff options
author | dosire <sytses@gmail.com> | 2014-02-11 10:06:25 +0100 |
---|---|---|
committer | dosire <sytses@gmail.com> | 2014-02-11 10:06:25 +0100 |
commit | f1da402be753a7cfff1fe7c8be96ce61a1ec3f58 (patch) | |
tree | d9d0039c22e4f9c3f537469dbc24211dd3f470a1 | |
parent | b057e58b6f32c9458fe212e8ef01ca4214860667 (diff) | |
download | gitlab-ce-f1da402be753a7cfff1fe7c8be96ce61a1ec3f58.tar.gz |
Require a full yes.
-rw-r--r-- | lib/gitlab/upgrader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/upgrader.rb b/lib/gitlab/upgrader.rb index d48fb8a40ca..859923cb563 100644 --- a/lib/gitlab/upgrader.rb +++ b/lib/gitlab/upgrader.rb @@ -17,7 +17,7 @@ module Gitlab prompt("Do you want to upgrade (yes/no)? ", %w{yes no}) end - if answer == "yes" || answer == "y" + if answer == "yes" upgrade else exit 0 |