summaryrefslogtreecommitdiff
path: root/src/supervision
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-01-19 16:32:23 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-01-19 16:32:23 +0000
commit2844097114fe7b36e03ff863ce8daaaf9d6583c7 (patch)
tree7963886061367c98124cceb86f75b0c83b95ba60 /src/supervision
parent701540827e27a4f07ac725db3ce361d3be0c106f (diff)
downloads6-2844097114fe7b36e03ff863ce8daaaf9d6583c7.tar.xz
Change "signal TERM" to "signal SIGTERM" in s6-svstat
Diffstat (limited to 'src/supervision')
-rw-r--r--src/supervision/s6-svstat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/supervision/s6-svstat.c b/src/supervision/s6-svstat.c
index a4facf5..4f95a0c 100644
--- a/src/supervision/s6-svstat.c
+++ b/src/supervision/s6-svstat.c
@@ -76,7 +76,10 @@ int main (int argc, char const *const *argv)
if (flagnum)
buffer_putnoflush(buffer_1small, fmt, uint_fmt(fmt, WTERMSIG(status.wstat))) ;
else
+ {
+ buffer_putnoflush(buffer_1small, "SIG", 3) ;
buffer_putsnoflush(buffer_1small, sig_name(WTERMSIG(status.wstat))) ;
+ }
}
else
{