summaryrefslogtreecommitdiff
path: root/src/libs6/s6_svstatus_unpack.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_unpack.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_unpack.c')
-rw-r--r--src/libs6/s6_svstatus_unpack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs6/s6_svstatus_unpack.c b/src/libs6/s6_svstatus_unpack.c
index dc358d3..b641c8c 100644
--- a/src/libs6/s6_svstatus_unpack.c
+++ b/src/libs6/s6_svstatus_unpack.c
@@ -21,4 +21,5 @@ void s6_svstatus_unpack (char const *pack, s6_svstatus_t *sv)
sv->flagwant = !!(pack[34] & 4) ;
sv->flagwantup = !!(pack[34] & 8) ;
sv->flagready = !!(pack[34] & 16) ;
+ sv->flagthrottled = !!(pack[34] & 32) ;
}