From: jweiss Date: Tue, 21 Nov 1995 16:55:17 +0000 (+0000) Subject: Thus endeth the lie of /bin/csh X-Git-Tag: OPSSRC_BASE~7 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/0ffa8026d30fc493f5d96b89994eac317ce936e2 Thus endeth the lie of /bin/csh SGI patch from tom --- diff --git a/clients/passwd/chsh.c b/clients/passwd/chsh.c index f000a263..4a8df801 100644 --- a/clients/passwd/chsh.c +++ b/clients/passwd/chsh.c @@ -264,7 +264,7 @@ usage() exit(1); } -#if defined(ultrix) || defined(_AIX) +#if defined(ultrix) || defined(_AIX) || defined(sgi) char *getusershell() { static int count = 1; @@ -275,6 +275,8 @@ char *getusershell() case 2: return("/bin/csh"); case 3: + return("/bin/athena/tcsh"); + case 4: return(NULL); default: count = 1;