commit 1932dfb1314ba7b12cc5bf19117725e2a80f987a
parent eae8571ae4db48b6c33578d6832d5e6cea7e731a
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Tue, 29 Nov 2005 05:52:49 +0000
another comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3223 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/text.c b/src/text.c
@@ -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";