Skip to content

Commit

Permalink
remove default value for memory_filepath
Browse files Browse the repository at this point in the history
  • Loading branch information
lexming committed Jan 17, 2025
1 parent 54a7b98 commit 38054d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SitePackage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ local function get_avail_memory()
end

local cgroup = nil
local memory_filepath = nil
local memory_filepath
-- if it's one line: cgroupv2
if #lines == 1 then
cgroup = lines[1]:match("^[0-9]+::(.*)$")
Expand Down

0 comments on commit 38054d0

Please sign in to comment.