]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/service: make error msg match with conditions
authorMike Yuan <me@yhndnzj.com>
Wed, 31 Jan 2024 17:47:35 +0000 (01:47 +0800)
committerMike Yuan <me@yhndnzj.com>
Sat, 10 Feb 2024 13:19:35 +0000 (21:19 +0800)
commitd67c51e386bb9817b74b2968ff195fb06425aa8f
tree2cb8018416a232449162e4208128c6bab64e2710
parent1a0541d44c78ced78a566051ec8f63417370aeaa
core/service: make error msg match with conditions

This was discussed in
https://github.com/systemd/systemd/pull/13754#discussion_r333395362.
I think we should actually list "success" Restart= settings instead.
There are more error statuses than success ones after all, and this
list hasn't really changed for quite some time.
src/core/service.c