From 612d25c12cd1bd9ff4167e8530fe9a2c54a619e4 Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Tue, 7 Jan 2014 13:32:21 -0500 Subject: [PATCH] i3bar Bugfix: don't show "EOF" status line error When the `status_command` sends EOF, it is terminated. Terminating this process prints an error message to the status line (hence, a race condition). This error message is always more useful than the former "EOF" status line error because it shows the exit code. --- i3bar/src/child.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/i3bar/src/child.c b/i3bar/src/child.c index 1bd0d258..52e99b40 100644 --- a/i3bar/src/child.c +++ b/i3bar/src/child.c @@ -294,8 +294,6 @@ static unsigned char *get_buffer(ev_io *watcher, int *ret_buffer_len) { /* end of file, kill the watcher */ ELOG("stdin: received EOF\n"); cleanup(); - set_statusline_error("Received EOF from statusline process"); - draw_bars(false); *ret_buffer_len = -1; return NULL; } -- 2.39.5