]> andersk Git - moira.git/commitdiff
Thus endeth the lie of /bin/csh
authorjweiss <jweiss>
Tue, 21 Nov 1995 16:55:17 +0000 (16:55 +0000)
committerjweiss <jweiss>
Tue, 21 Nov 1995 16:55:17 +0000 (16:55 +0000)
SGI patch from tom

clients/passwd/chsh.c

index f000a263a5955eedb404600af63352d5fb4509bd..4a8df8019db46eae0ffb159a000984c11e1570fc 100644 (file)
@@ -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;
This page took 0.812598 seconds and 5 git commands to generate.