diff --git a/src/systemctl/VERSION b/src/systemctl/VERSION index 7dff5b8..f477849 100644 --- a/src/systemctl/VERSION +++ b/src/systemctl/VERSION @@ -1 +1 @@ -0.2.1 \ No newline at end of file +0.2.2 \ No newline at end of file diff --git a/src/systemctl/systemctl.lua b/src/systemctl/systemctl.lua index 01d8133..5a49d22 100644 --- a/src/systemctl/systemctl.lua +++ b/src/systemctl/systemctl.lua @@ -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 @@ -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)