mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-02 11:13:56 +08:00
update 2026-10-01 07:23:35
This commit is contained in:
1 parent
4596096d87
commit
a1a00fc6d1
33 files changed
+81
-1298
No files matched your search
@@ -399,7 +399,7 @@ function remove(...)
|
||||
for i = 1, select("#", ...) do
|
||||
local value = select(i, ...)
|
||||
if type(value) == "string" and #value > 0 and value ~= "/" then
|
||||
local quoted = util.shellsqescape(value)
|
||||
local quoted = "'" .. value:gsub("'", "'\\''") .. "'"
|
||||
sys.call("rm -rf " .. quoted)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user