From: Tony Crisci Date: Wed, 8 Jan 2014 07:51:27 +0000 (-0500) Subject: i3bar: Amend status line error 127 message X-Git-Tag: 4.8~148 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7bddf9add50dc40a5d13e6af8dfa981992da8001;p=i3%2Fi3 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. --- diff --git a/i3bar/src/child.c b/i3bar/src/child.c index 6c1c17f2..79971a3a 100644 --- a/i3bar/src/child.c +++ b/i3bar/src/child.c @@ -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);