]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: fix writing of ExecStartEx and friends
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 3 Apr 2023 11:56:18 +0000 (13:56 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Apr 2023 08:02:30 +0000 (10:02 +0200)
commit0a27d86a3f3d6b577a094f6024a1db0eac76da85
tree7fc420caf59ac7d65317e622ba4b617e36221a4c
parent8c41640a71fd03e4a2a45a28e311bbfd08e4c49a
core: fix writing of ExecStartEx and friends

The property name is called ExecStartEx, but we have to write it as ExecStart=
in the unit file. :(
Bug introduced in b3d593673c5b8b0b7d781fd26ab2062ca6e7dbdb when ex-properties
were initially added.

In addition, we cannot escape $ as $$, because when ":" is used, we wouldn't
unescape $$ back to $.
src/core/dbus-execute.c
src/core/dbus-service.c