Set title on control commands

If a control command starts a service, the title should be updated.
This commit is contained in:
C. McEnroe 2020-08-15 23:48:29 -04:00
parent 1c4dd05f40
commit 3e9e6cf3a5

View File

@ -351,6 +351,7 @@ int main(int argc, char *argv[]) {
parseControl(buf); parseControl(buf);
} }
if (errno != EAGAIN) syslog(LOG_WARNING, "read: %m"); if (errno != EAGAIN) syslog(LOG_WARNING, "read: %m");
setTitle();
} }
if (nfds > 0) { if (nfds > 0) {