projects
/
oweals
/
dinit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c8fe15
)
dinitctl: fix display of termination signal
author
Davin McCall
<davmac@davmac.org>
Sat, 25 May 2019 23:38:12 +0000
(09:38 +1000)
committer
Davin McCall
<davmac@davmac.org>
Sun, 26 May 2019 04:48:32 +0000
(14:48 +1000)
src/dinitctl.cc
patch
|
blob
|
history
diff --git
a/src/dinitctl.cc
b/src/dinitctl.cc
index d0f9c154f983aa898a8f5e2394dfae11beed530c..dbccc7d6dde1b5c6901397500dbdb95c56cc60b8 100644
(file)
--- a/
src/dinitctl.cc
+++ b/
src/dinitctl.cc
@@
-758,7
+758,7
@@
static int list_services(int socknum, cpbuffer_t &rbuffer)
cout << " (exit status: " << WEXITSTATUS(exit_status) << ")";
}
else if (WIFSIGNALED(exit_status)) {
- cout << " (signal: " << W
STOP
SIG(exit_status) << ")";
+ cout << " (signal: " << W
TERM
SIG(exit_status) << ")";
}
}