aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorpseudoku2017-05-04 00:17:56 -0700
committerGitHub2017-05-04 00:17:56 -0700
commit77728abbfc4c913ed91856e8c33d0911db0dc486 (patch)
treefc3e6fb4fa1fd8d933f88a847b9c117bf6ff7a6d /Library
parent29429df9da748570a5046a99b683ebc3979531a4 (diff)
downloadbrew-77728abbfc4c913ed91856e8c33d0911db0dc486.tar.bz2
Remove unused command_args
Extra command_args in gain_permissions_remove caused silent failure and path never gets deleted.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cask/lib/hbc/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/utils.rb b/Library/Homebrew/cask/lib/hbc/utils.rb
index 2a5acbc88..b2b65a08e 100644
--- a/Library/Homebrew/cask/lib/hbc/utils.rb
+++ b/Library/Homebrew/cask/lib/hbc/utils.rb
@@ -43,7 +43,7 @@ module Hbc
p.rmtree
else
command.run("/bin/rm",
- args: command_args + ["-r", "-f", "--", p],
+ args: ["-r", "-f", "--", p],
sudo: true)
end
end