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.
/* 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;
}