adding exit status if declined
This commit is contained in:
parent
cb947b9cf4
commit
f1906c1682
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user