]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/systemctl/systemctl.c
systemctl: consider service running only when it is in active or reloading state...
authorLukáš Nykrýn <lnykryn@redhat.com>
Wed, 3 Aug 2016 15:08:37 +0000 (17:08 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 3 Aug 2016 15:08:37 +0000 (17:08 +0200)
commit7f5da8bd4fb1ba49ba40195a74ca76bb5d4d1f81
tree64b0113b1d67240ed30bb7947e8a16fda86e34ae
parent5e0bb1a6287387f179540895e43647a0baa8c724
systemctl: consider service running only when it is in active or reloading state (#3874)

Otherwise for example services that are failing on start and have Restart=on-failure
and bigger RestartSec systemctl status will return 0.

Fixes: #3864
src/systemctl/systemctl.c