adding exit status if declined

This commit is contained in:
thibhero 2025-02-12 15:59:35 -05:00
parent cb947b9cf4
commit f1906c1682

View File

@ -317,7 +317,7 @@ module Homebrew
puts "Proceeding with installation..." puts "Proceeding with installation..."
break break
elsif declined_inputs.include?(result) elsif declined_inputs.include?(result)
return exit 0
else else
puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort."
end end