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.
This commit is contained in:
parent
b8bf3d39eb
commit
612d25c12c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue