chiark / gitweb /
fix warnings
[nntp-merge-chiark.git] / nyxpostrun.c
1 #include <unistd.h>
2 #include <stdio.h>
3 #include <stdlib.h>
4 int main(int argc, char **argv) {
5   int g;
6   g= getegid();
7   setregid(g,g);
8   execv("/usr/local/lib/news/nyxpost",argv);
9   perror("nyxpostrun: exec");
10   exit(1);
11 }