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:
parent
aa11c03d4c
commit
7bddf9add5
|
@ -420,7 +420,7 @@ void child_sig_cb(struct ev_loop *loop, ev_child *watcher, int revents) {
|
||||||
if (exit_status == 126)
|
if (exit_status == 126)
|
||||||
set_statusline_error("status_command is not executable (exit %d)", exit_status);
|
set_statusline_error("status_command is not executable (exit %d)", exit_status);
|
||||||
else if (exit_status == 127)
|
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
|
else
|
||||||
set_statusline_error("status_command process exited unexpectedly (exit %d)", exit_status);
|
set_statusline_error("status_command process exited unexpectedly (exit %d)", exit_status);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue