Skip to content

Commit

Permalink
Merge pull request #6937 from MikeMcQuaid/bottle_sudo_non_interactive
Browse files Browse the repository at this point in the history
dev-cmd/bottle: run `sudo --purge` non-interactively.
  • Loading branch information
MikeMcQuaid committed Jan 15, 2020
2 parents 95e04cb + ea1a3ea commit 8398d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/dev-cmd/bottle.rb
Expand Up @@ -208,7 +208,7 @@ def bottle_output(bottle)
def sudo_purge
return unless ENV["HOMEBREW_BOTTLE_SUDO_PURGE"]

system "/usr/bin/sudo", "/usr/sbin/purge"
system "/usr/bin/sudo", "--non-interactive", "/usr/sbin/purge"
end

def bottle_formula(f)
Expand Down

0 comments on commit 8398d0b

Please sign in to comment.