mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-16 07:33:46 -06:00
29577fb03b
* fix(daemon): keep backslashes and quotes intact in generated systemd units systemdEscapeArg escaped only pairs of backslashes and rendered a quote as two backslashes plus a quote, so any value holding a lone backslash or a quote did not survive the readers in this module -- or systemd itself. The installed Linux service received a different value than the operator configured, with nothing reporting the difference. parseSystemdEnvAssignment also carried a private copy of the shared unquoting loop whose escape branch compared one character against a two-character literal, so it never unescaped anything. Service inspection reads through that path, so status and doctor reported the escaped form. Align the writer with serializeSystemdEnvironmentFileValue and route the reader through the shared splitter its three siblings already use. Adds round-trip tables mirroring the Windows cmd sibling. * fix(daemon): align systemd round-trip parser with current main --------- Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>