From 77728abbfc4c913ed91856e8c33d0911db0dc486 Mon Sep 17 00:00:00 2001 From: pseudoku Date: Thu, 4 May 2017 00:17:56 -0700 Subject: Remove unused command_args Extra command_args in gain_permissions_remove caused silent failure and path never gets deleted.--- Library/Homebrew/cask/lib/hbc/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3