Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/
Date: Tue, 22 May 2018 22:12:48
Message-Id: 1527009638.5d6dd97bba3559b57fb1c1de35e644c6dbd6baa7.williamh@OpenRC
1 commit: 5d6dd97bba3559b57fb1c1de35e644c6dbd6baa7
2 Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
3 AuthorDate: Mon May 21 23:16:12 2018 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Tue May 22 17:20:38 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=5d6dd97b
7
8 rc-misc: add the crashed state
9
10 src/rc/rc-misc.c | 1 +
11 1 file changed, 1 insertion(+)
12
13 diff --git a/src/rc/rc-misc.c b/src/rc/rc-misc.c
14 index e933409f..2df4fd42 100644
15 --- a/src/rc/rc-misc.c
16 +++ b/src/rc/rc-misc.c
17 @@ -423,6 +423,7 @@ static const struct {
18 { "service_hotplugged", RC_SERVICE_HOTPLUGGED, },
19 { "service_wasinactive", RC_SERVICE_WASINACTIVE, },
20 { "service_failed", RC_SERVICE_FAILED, },
21 + { "service_crashed", RC_SERVICE_CRASHED, },
22 };
23
24 RC_SERVICE lookup_service_state(const char *service)