summaryrefslogtreecommitdiff
path: root/games/quiz/quiz.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/quiz/quiz.c')
-rw-r--r--games/quiz/quiz.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/quiz/quiz.c b/games/quiz/quiz.c
index 6af648d2e53..4aa34a2cecc 100644
--- a/games/quiz/quiz.c
+++ b/games/quiz/quiz.c
@@ -84,6 +84,8 @@ main(argc, argv)
register int ch;
char *indexfile;
+ setgid(getgid());
+
indexfile = _PATH_QUIZIDX;
while ((ch = getopt(argc, argv, "i:t")) != EOF)
switch(ch) {