aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--swaybar/status_line.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/swaybar/status_line.c b/swaybar/status_line.c
index 71ceb1d0..ecd91032 100644
--- a/swaybar/status_line.c
+++ b/swaybar/status_line.c
@@ -185,6 +185,7 @@ struct status_line *status_line_init(char *cmd) {
185 185
186void status_line_free(struct status_line *status) { 186void status_line_free(struct status_line *status) {
187 status_line_close_fds(status); 187 status_line_close_fds(status);
188 kill(status->pid, status->cont_signal);
188 kill(status->pid, SIGTERM); 189 kill(status->pid, SIGTERM);
189 waitpid(status->pid, NULL, 0); 190 waitpid(status->pid, NULL, 0);
190 if (status->protocol == PROTOCOL_I3BAR) { 191 if (status->protocol == PROTOCOL_I3BAR) {