diff options
author | ache <ache@FreeBSD.org> | 1997-09-24 08:09:04 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-09-24 08:09:04 +0000 |
commit | 8ac875c94c80bcf8f00e04977a7c82bed3cfa214 (patch) | |
tree | 8db78609d7a088298fe5a6911387d33a35338908 /games/hack | |
parent | f8d384b0f81791420540de47a3561fe77797a26a (diff) | |
download | FreeBSD-src-8ac875c94c80bcf8f00e04977a7c82bed3cfa214.zip FreeBSD-src-8ac875c94c80bcf8f00e04977a7c82bed3cfa214.tar.gz |
Simplify revoke
Diffstat (limited to 'games/hack')
-rw-r--r-- | games/hack/hack.main.c | 1 | ||||
-rw-r--r-- | games/hack/hack.pager.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/games/hack/hack.main.c b/games/hack/hack.main.c index 673a795..530eb0b 100644 --- a/games/hack/hack.main.c +++ b/games/hack/hack.main.c @@ -460,7 +460,6 @@ boolean wr; #endif ) { /* revoke */ - setegid(getgid()); setgid(getgid()); } #endif diff --git a/games/hack/hack.pager.c b/games/hack/hack.pager.c index 1854f22..df86ca6 100644 --- a/games/hack/hack.pager.c +++ b/games/hack/hack.pager.c @@ -379,7 +379,6 @@ child(wt) { if(f == 0){ /* child */ settty((char *) 0); /* also calls end_screen() */ /* revoke */ - setegid(getgid()); setgid(getgid()); #ifdef CHDIR (void) chdir(getenv("HOME")); |