Remove unused command_args

Extra command_args in gain_permissions_remove caused silent failure and path never gets deleted.
This commit is contained in:
pseudoku 2017-05-04 00:17:56 -07:00 committed by GitHub
parent 29429df9da
commit 77728abbfc

View File

@ -43,7 +43,7 @@ module Hbc
p.rmtree p.rmtree
else else
command.run("/bin/rm", command.run("/bin/rm",
args: command_args + ["-r", "-f", "--", p], args: ["-r", "-f", "--", p],
sudo: true) sudo: true)
end end
end end