use /bin/csh instead of /bin/sh
authorKevin Layer <layer@ucbvax.Berkeley.EDU>
Tue, 10 May 1983 12:57:59 +0000 (04:57 -0800)
committerKevin Layer <layer@ucbvax.Berkeley.EDU>
Tue, 10 May 1983 12:57:59 +0000 (04:57 -0800)
SCCS-vsn: games/trek/shell.c 4.2

usr/src/games/trek/shell.c

index 8bb17e9..967228c 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)shell.c    4.1     (Berkeley)      %G%";
+static char sccsid[] = "@(#)shell.c    4.2     (Berkeley)      %G%";
 #endif not lint
 
 /*
 #endif not lint
 
 /*
@@ -16,8 +16,8 @@ shell()
        {
                setuid(getuid());
                nice(0);
        {
                setuid(getuid());
                nice(0);
-               execl("/bin/sh", "-", 0);
-               syserr("cannot execute /bin/sh");
+               execl("/bin/csh", "-", 0);
+               syserr("cannot execute /bin/csh");
        }
        sav2 = signal(2, 1);
        sav3 = signal(3, 1);
        }
        sav2 = signal(2, 1);
        sav3 = signal(3, 1);