diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-01-19 16:32:23 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-01-19 16:32:23 +0000 |
commit | 2844097114fe7b36e03ff863ce8daaaf9d6583c7 (patch) | |
tree | 7963886061367c98124cceb86f75b0c83b95ba60 /src/supervision/s6-svstat.c | |
parent | 701540827e27a4f07ac725db3ce361d3be0c106f (diff) | |
download | s6-2844097114fe7b36e03ff863ce8daaaf9d6583c7.tar.xz |
Change "signal TERM" to "signal SIGTERM" in s6-svstat
Diffstat (limited to 'src/supervision/s6-svstat.c')
-rw-r--r-- | src/supervision/s6-svstat.c | 3 |
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 { |