projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
35b9549
)
use /bin/csh instead of /bin/sh
author
Kevin Layer
<layer@ucbvax.Berkeley.EDU>
Tue, 10 May 1983 12:57:59 +0000
(
04:57
-0800)
committer
Kevin 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
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/games/trek/shell.c
b/usr/src/games/trek/shell.c
index
8bb17e9
..
967228c
100644
(file)
--- a/
usr/src/games/trek/shell.c
+++ b/
usr/src/games/trek/shell.c
@@
-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/
c
sh", "-", 0);
+ syserr("cannot execute /bin/
c
sh");
}
sav2 = signal(2, 1);
sav3 = signal(3, 1);
}
sav2 = signal(2, 1);
sav3 = signal(3, 1);