summaryrefslogtreecommitdiff
path: root/games/battlestar/battlestar.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/battlestar/battlestar.c')
-rw-r--r--games/battlestar/battlestar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/battlestar/battlestar.c b/games/battlestar/battlestar.c
index 078adb980aa..b97e89ca19c 100644
--- a/games/battlestar/battlestar.c
+++ b/games/battlestar/battlestar.c
@@ -63,6 +63,9 @@ char **argv;
char mainbuf[LINELENGTH];
char *next;
+ egid = getegid();
+ setegid(getgid());
+
initialize(argc < 2 || strcmp(argv[1], "-r"));
start:
news();