summaryrefslogtreecommitdiff
path: root/games/worm/worm.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-22 20:02:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-22 20:02:10 +0000
commitff4ce18e919807fbd34b9ade85e7b121bfdf4dea (patch)
tree7fe48076ef6bee61276a7cedec421b4ebbea6823 /games/worm/worm.c
parent129dd29fd8aafb8fb425c3b282e32e4cb66a7d55 (diff)
proper gid revoke
Diffstat (limited to 'games/worm/worm.c')
-rw-r--r--games/worm/worm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/worm/worm.c b/games/worm/worm.c
index 495ed3cd80e..23594347626 100644
--- a/games/worm/worm.c
+++ b/games/worm/worm.c
@@ -89,6 +89,8 @@ main(argc, argv)
{
char ch;
+ /* revoke */
+ setegid(getgid());
setgid(getgid());
if (argc == 2)