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:
8c01a85
)
Fix a TODO comment
author
Davin McCall
<davmac@davmac.org>
Mon, 27 Jun 2016 12:02:18 +0000
(13:02 +0100)
committer
Davin McCall
<davmac@davmac.org>
Mon, 27 Jun 2016 12:02:18 +0000
(13:02 +0100)
src/service.cc
patch
|
blob
|
history
diff --git
a/src/service.cc
b/src/service.cc
index 264562b27ff42c269c40474775c1bccf02f44433..6185d355ce68b9549298bd0d6f5bfe78ca6c359e 100644
(file)
--- a/
src/service.cc
+++ b/
src/service.cc
@@
-194,7
+194,8
@@
void ServiceRecord::handle_exit_status() noexcept
}
}
else if (service_state == ServiceState::STOPPING) {
- // TODO log non-zero rstatus?
+ // We won't log a non-zero exit status or termination due to signal here -
+ // we assume that the process died because we signalled it.
stopped();
}
else if (smooth_recovery && service_state == ServiceState::STARTED) {