Fix a TODO comment
authorDavin McCall <davmac@davmac.org>
Mon, 27 Jun 2016 12:02:18 +0000 (13:02 +0100)
committerDavin McCall <davmac@davmac.org>
Mon, 27 Jun 2016 12:02:18 +0000 (13:02 +0100)
src/service.cc

index 264562b27ff42c269c40474775c1bccf02f44433..6185d355ce68b9549298bd0d6f5bfe78ca6c359e 100644 (file)
@@ -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) {