Skip to content

Commit

Permalink
removed residue from testing
Browse files Browse the repository at this point in the history
  • Loading branch information
cryi committed Jul 14, 2024
1 parent bad6b7a commit 289541f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/systemctl/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.1
0.2.2
4 changes: 1 addition & 3 deletions src/systemctl/systemctl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ local function get_user_home(user)
local _stdout = _proc.stdoutStream:read("a")
local _stderr = _proc.stderrStream:read("a")
if _proc.exitcode ~= 0 then
error("Failed to get home directory for user " .. user .. " - " .. _stderr)
error("failed to get home directory for user " .. user .. " - " .. _stderr)
end
local _home = _stdout:match("^.*:.*:.*:.*:.*:(.*):.*$")
if not _home then
Expand Down Expand Up @@ -297,6 +297,4 @@ function systemctl.with_options(cachedOptions)
return util.generate_safe_functions(systemctlWithOptions)
end

systemctl.remove_service("test", { container = "v" })

return util.generate_safe_functions(systemctl)

0 comments on commit 289541f

Please sign in to comment.