]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/unit.c
core: make sure "systemctl reload-or-try-restart is actually a noop if a unit is...
authorLennart Poettering <lennart@poettering.net>
Thu, 28 Jan 2016 17:48:42 +0000 (18:48 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 28 Jan 2016 17:48:42 +0000 (18:48 +0100)
commit3282591dc30b2934a895c7403d2f0b0690260947
tree68fef5b38a9b448fcdcd8e48be65daa38470acc7
parent2fcee0a59a48a1381bb4c0ecf5a2dcbb1015341e
core: make sure "systemctl reload-or-try-restart is actually a noop if a unit is not running

This makes sure we follow the same basic logic for try-restart if we have a try-reload.

Fixes #688
src/core/dbus-unit.c
src/core/job.c
src/core/job.h
src/core/unit.c