summary refs log tree commit diff
path: root/daemon.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-08-15 23:48:29 -0400
committerJune McEnroe <june@causal.agency>2020-08-15 23:48:29 -0400
commit3e9e6cf3a5f1b826654d579cc091697e3ac460f3 (patch)
tree9c5996227bff4cfcfa08cda3f56063cda634035f /daemon.c
parentAdd 126 to hardcoded stop exits (diff)
downloadcatsit-3e9e6cf3a5f1b826654d579cc091697e3ac460f3.tar.gz
catsit-3e9e6cf3a5f1b826654d579cc091697e3ac460f3.zip
Set title on control commands
If a control command starts a service, the title should be updated.
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon.c b/daemon.c
index 426262e..84ec5a5 100644
--- a/daemon.c
+++ b/daemon.c
@@ -351,6 +351,7 @@ int main(int argc, char *argv[]) {
 				parseControl(buf);
 			}
 			if (errno != EAGAIN) syslog(LOG_WARNING, "read: %m");
+			setTitle();
 		}
 
 		if (nfds > 0) {