From f1da402be753a7cfff1fe7c8be96ce61a1ec3f58 Mon Sep 17 00:00:00 2001 From: dosire <sytses@gmail.com> Date: Tue, 11 Feb 2014 10:06:25 +0100 Subject: [PATCH] Require a full yes. --- lib/gitlab/upgrader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.9