i3bar: Amend status line error 127 message

Exit 127 can be returned by the shell when the command is not found or
when the `status_command` process returns 127 because of a missing C
library dependency.
This commit is contained in:
Tony Crisci 2014-01-08 02:51:27 -05:00 committed by Michael Stapelberg
parent aa11c03d4c
commit 7bddf9add5
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ void child_sig_cb(struct ev_loop *loop, ev_child *watcher, int revents) {
if (exit_status == 126)
set_statusline_error("status_command is not executable (exit %d)", exit_status);
else if (exit_status == 127)
set_statusline_error("status_command not found (exit %d)", exit_status);
set_statusline_error("status_command not found or is missing a library dependency (exit %d)", exit_status);
else
set_statusline_error("status_command process exited unexpectedly (exit %d)", exit_status);