summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
{