st
simple terminal
git clone https://9o.is/git/st.git
commit 9c83f63f09e85bafbb8b5fcd0a3daef4c71106e4 parent 24feff8cbcdf146a9915b5a421585523a7249432 Author: Roberto E. Vargas Caballero <k0ga@shike2.com> Date: Fri, 24 Jul 2015 07:44:34 +0200 Fix style in execsh Diffstat:
| M | st.c | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/st.c b/st.c @@ -1329,9 +1329,8 @@ execsh(void) die("who are you?\n"); } - if (!(sh = getenv("SHELL"))) { + if ((sh = getenv("SHELL")) == NULL) sh = (pw->pw_shell[0]) ? pw->pw_shell : shell; - } if (opt_cmd) prog = opt_cmd[0];