summaryrefslogtreecommitdiffstats
path: root/games/battlestar/battlestar.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/battlestar/battlestar.c')
-rw-r--r--games/battlestar/battlestar.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/battlestar/battlestar.c b/games/battlestar/battlestar.c
index 48fb8b3..144e72f 100644
--- a/games/battlestar/battlestar.c
+++ b/games/battlestar/battlestar.c
@@ -57,6 +57,12 @@ char **argv;
char mainbuf[LINELENGTH];
char *next;
+ open_score_file();
+
+ /* revoke privs. */
+ egid = getegid();
+ setegid(getgid());
+
initialize(argc < 2 || strcmp(argv[1], "-r"));
start:
news();
OpenPOWER on IntegriCloud