diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 64bcee9a80..9d866b1952 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -317,7 +317,7 @@ module Homebrew puts "Proceeding with installation..." break elsif declined_inputs.include?(result) - return + exit 0 else puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." end