another comment fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3223 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-11-29 05:52:49 +00:00
parent eae8571ae4
commit 1932dfb131
1 changed files with 2 additions and 1 deletions

View File

@ -271,7 +271,8 @@ bool execute_command(const char *command)
}
/* Check $SHELL for the shell to use. If it isn't set, use
* /bin/sh. */
* /bin/sh. Note that $SHELL should contain only a path, with no
* arguments. */
shellenv = getenv("SHELL");
if (shellenv == NULL)
shellenv = "/bin/sh";