commit 2844097114fe7b36e03ff863ce8daaaf9d6583c7
parent 701540827e27a4f07ac725db3ce361d3be0c106f
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Mon, 19 Jan 2015 16:32:23 +0000
Change "signal TERM" to "signal SIGTERM" in s6-svstat
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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
{