diff options
author | William A. Kennington III <wak@google.com> | 2019-04-03 11:13:09 -0700 |
---|---|---|
committer | William A. Kennington III <wak@google.com> | 2019-04-03 11:16:19 -0700 |
commit | e5e3a9ccd0c3d13f63e9e1a730bd3a8cb66b48dd (patch) | |
tree | 5e7db60d3936d472ebc032a64683a928379ba392 | |
parent | bc89289f48ce5e1c8e5c66e657a176a0cd881d39 (diff) | |
download | phosphor-logging-e5e3a9ccd0c3d13f63e9e1a730bd3a8cb66b48dd.tar.gz phosphor-logging-e5e3a9ccd0c3d13f63e9e1a730bd3a8cb66b48dd.zip |
utils: restart: Fix restart bug
bc89289f48ce5e1c8e5c66e657a176a0cd881d39 introduced a regression in the
type signature of the RestartUnit call. The "replace" argument was
accidentally deleted.
Change-Id: I44313997b8b72b7163ad8b43ed2b45a01cb54e44
Signed-off-by: William A. Kennington III <wak@google.com>
-rw-r--r-- | phosphor-rsyslog-config/utils.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phosphor-rsyslog-config/utils.hpp b/phosphor-rsyslog-config/utils.hpp index 30799cd..f5df8ae 100644 --- a/phosphor-rsyslog-config/utils.hpp +++ b/phosphor-rsyslog-config/utils.hpp @@ -28,7 +28,7 @@ void restart() { auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, SYSTEMD_INTERFACE, "RestartUnit"); - method.append(service); + method.append(service, "replace"); bus.call_noreply(method); } } |