From 2844097114fe7b36e03ff863ce8daaaf9d6583c7 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 19 Jan 2015 16:32:23 +0000 Subject: Change "signal TERM" to "signal SIGTERM" in s6-svstat --- src/supervision/s6-svstat.c | 3 +++ 1 file changed, 3 insertions(+) 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 { -- cgit v1.2.3