diff options
author | deraadt <deraadt@openbsd.org> | 1996-12-22 20:00:41 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 1996-12-22 20:00:41 +0000 |
commit | 161033a1895d69b10cf98bd9617f544017634500 (patch) | |
tree | 19b4607d322bc741caf70221f4fc1db54ec298e1 /games/pig | |
parent | removed netbsd refs from "clean" target (diff) | |
download | wireguard-openbsd-161033a1895d69b10cf98bd9617f544017634500.tar.xz wireguard-openbsd-161033a1895d69b10cf98bd9617f544017634500.zip |
proper gid revoke
Diffstat (limited to 'games/pig')
-rw-r--r-- | games/pig/pig.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/games/pig/pig.c b/games/pig/pig.c index 0cffcd30775..27215f008b4 100644 --- a/games/pig/pig.c +++ b/games/pig/pig.c @@ -66,6 +66,8 @@ main(argc, argv) int ch; char buf[1024]; + /* revoke */ + setegid(getgid()); setgid(getgid()); while ((ch = getopt(argc, argv, "")) != EOF) |