summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-04-02 17:04:53 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-04-02 17:04:53 +0000
commit62db84f60b1b0ecf62ce3c24a91eb56a897828f7 (patch)
treef12b1a6b2dc0094ca4d14f9cd2a28935e5fcbcd2 /lib/libc
parentd3201be4f265e4055a4d183ffd6b1da41db87ec1 (diff)
Add /bin/ksh to builtin list of OK shells.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/getusershell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/getusershell.c b/lib/libc/gen/getusershell.c
index 6924c05dba0..108a4cc13dc 100644
--- a/lib/libc/gen/getusershell.c
+++ b/lib/libc/gen/getusershell.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: getusershell.c,v 1.6 2005/03/25 15:38:47 otto Exp $";
+static char rcsid[] = "$OpenBSD: getusershell.c,v 1.7 2005/04/02 17:04:52 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -45,7 +45,7 @@ static char rcsid[] = "$OpenBSD: getusershell.c,v 1.6 2005/03/25 15:38:47 otto E
* /etc/shells.
*/
-static char *okshells[] = { _PATH_BSHELL, _PATH_CSHELL, NULL };
+static char *okshells[] = { _PATH_BSHELL, _PATH_CSHELL, _PATH_KSHELL, NULL };
static char **curshell, **shells, *strings;
static char **initshells(void);