HomeClusterLabs Projects

Refactor: remoted: Strip trailing comment in load_env_vars()

Description

Refactor: remoted: Strip trailing comment in load_env_vars()

We don't want to do this until after parsing the value, because a '#'
character inside a quoted value should be treated as part of the value.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mar 7 2025, 6:26 PM
Parents
rP0bf68b30efb2: Refactor: remoted: Strip trailing whitespace in load_env_vars()
Branches
Unknown
Tags
Unknown