commit | e1acbce6ac818e411cee8483c89ea6f7b0829162 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Mon Dec 09 17:52:08 2019 -0800 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu Dec 19 15:14:48 2019 +0000 |
tree | 3f156cba95a28cb1e3cfaf2b3a2f31eac5e23b70 | |
parent | 5ebd4e211c4948016916524792cbcd6ef955f089 [diff] |
phosphor-hwmon: Fix unit escaping We aren't correctly escaping all of the specical characters based on the systemd spec for unit name escaping. systemd provides a utility to do this reliably, so use that instead of a custom implementation. Change-Id: Iaaa79b65858495ace1ff72a2d1a662fe318c117f Signed-off-by: William A. Kennington III <wak@google.com>