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:
Tony Crisci 2014-01-07 13:32:21 -05:00 committed by Michael Stapelberg
parent b8bf3d39eb
commit 612d25c12c
1 changed files with 0 additions and 2 deletions

View File

@ -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;
}