Remove unused command_args
Extra command_args in gain_permissions_remove caused silent failure and path never gets deleted.
This commit is contained in:
parent
29429df9da
commit
77728abbfc
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user