iFix style in execsh - st - Simple Terminal Err gopher.r-36.net 70 i Err gopher.r-36.net 70 1Log /scm/st//log.gph gopher.r-36.net 70 1Files /scm/st//files.gph gopher.r-36.net 70 1Refs /scm/st//refs.gph gopher.r-36.net 70 1README /scm/st//file/README.gph gopher.r-36.net 70 1LICENSE /scm/st//file/LICENSE.gph gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1commit 62756fdb4945a80f4a53e6d354d5d93f51035517 /scm/st//commit/62756fdb4945a80f4a53e6d354d5d93f51035517.gph gopher.r-36.net 70 1parent d032b6159719b2fbbbd550781b378ca79a25d3a2 /scm/st//commit/d032b6159719b2fbbbd550781b378ca79a25d3a2.gph gopher.r-36.net 70 hAuthor: Roberto E. Vargas Caballero URL:mailto:k0ga@shike2.com gopher.r-36.net 70 iDate: Fri, 24 Jul 2015 07:44:34 +0200 Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iFix style in execsh Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDiffstat: Err gopher.r-36.net 70 i st.c | 3 +-- Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i1 file changed, 1 insertion(+), 2 deletions(-) Err gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1diff --git a/st.c b/st.c /scm/st//file/st.c.gph gopher.r-36.net 70 i@@ -1329,9 +1329,8 @@ execsh(void) Err gopher.r-36.net 70 i die("who are you?\n"); Err gopher.r-36.net 70 i } Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i- if (!(sh = getenv("SHELL"))) { Err gopher.r-36.net 70 i+ if ((sh = getenv("SHELL")) == NULL) Err gopher.r-36.net 70 i sh = (pw->pw_shell[0]) ? pw->pw_shell : shell; Err gopher.r-36.net 70 i- } Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i if (opt_cmd) Err gopher.r-36.net 70 i prog = opt_cmd[0]; Err gopher.r-36.net 70 .