diff options
author | 2005-04-02 17:04:52 +0000 | |
---|---|---|
committer | 2005-04-02 17:04:52 +0000 | |
commit | 6abf488e34bc876009381c22eadc99adb4888536 (patch) | |
tree | ada006fd6227ee31788027773445d379bd98a9ea /lib/libc/gen/getusershell.c | |
parent | allow _ in hostnames, but complain since this is not legal, but there is (diff) | |
download | wireguard-openbsd-6abf488e34bc876009381c22eadc99adb4888536.tar.xz wireguard-openbsd-6abf488e34bc876009381c22eadc99adb4888536.zip |
Add /bin/ksh to builtin list of OK shells.
Diffstat (limited to 'lib/libc/gen/getusershell.c')
-rw-r--r-- | lib/libc/gen/getusershell.c | 4 |
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); |