We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ee6b05 commit 550e151Copy full SHA for 550e151
src/rest/api/api_printer.lua
@@ -51,7 +51,7 @@ end
51
local function setCurrentPrint(id)
52
local cpfileName = "/tmp/current-print"
53
if id == nil then
54
- io.popen('rm ' .. cpfileName)
+ io.popen('rm ' .. cpfileName):close()
55
return true
56
end
57
0 commit comments