service stopped(): release console if have_console is set.
authorDavin McCall <davmac@davmac.org>
Mon, 19 Mar 2018 22:59:32 +0000 (22:59 +0000)
committerDavin McCall <davmac@davmac.org>
Mon, 19 Mar 2018 22:59:32 +0000 (22:59 +0000)
commit1ccaa09a43075be668f1515b54cd4a228da3057b
tree05f80dca3317e9a32b7eb2f4acb0496ece985441
parent00aa215fb4e661d323c96306c57c7c5c5ab61698
service stopped(): release console if have_console is set.

Previously relied on onstart_flags.runs_on_console, which should also be
accurate, but seeing as we have a flag available with the exact
semantics guaranteed then we should use that.
src/service.cc