summaryrefslogtreecommitdiff
path: root/src/libs6/s6_svstatus_pack.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-03-20 14:52:26 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-03-20 14:52:26 +0000
commit26c5fee82736e56cff3d114ff9d6e3969d1ce061 (patch)
treea43283438dc8d22b339cda86b0d80c58ef86bf4d /src/libs6/s6_svstatus_pack.c
parent1747a0f5142f0c36a61b37786368f05bcb3060f3 (diff)
downloads6-26c5fee82736e56cff3d114ff9d6e3969d1ce061.tar.xz
Add death tally support to s6-supervise, throttling support to s6_svstatus_t
Diffstat (limited to 'src/libs6/s6_svstatus_pack.c')
-rw-r--r--src/libs6/s6_svstatus_pack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs6/s6_svstatus_pack.c b/src/libs6/s6_svstatus_pack.c
index fbce109..ef2d5bd 100644
--- a/src/libs6/s6_svstatus_pack.c
+++ b/src/libs6/s6_svstatus_pack.c
@@ -17,5 +17,6 @@ void s6_svstatus_pack (char *pack, s6_svstatus_t const *sv)
(sv->flagfinishing << 1) |
(sv->flagwant << 2) |
(sv->flagwantup << 3) |
- (sv->flagready << 4) ;
+ (sv->flagready << 4) |
+ (sv->flagthrottled << 5) ;
}