[Olsr-cvs] olsrd-current/src main.c,1.83.2.1,1.83.2.2
Andreas T�nnesen
(spam-protected)
Tue Jan 10 07:20:40 CET 2006
Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31803/src
Modified Files:
Tag: olsrd_04
main.c
Log Message:
Removed getgid check
Index: main.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/main.c,v
retrieving revision 1.83.2.1
retrieving revision 1.83.2.2
diff -C2 -d -r1.83.2.1 -r1.83.2.2
*** main.c 7 Jan 2006 18:06:11 -0000 1.83.2.1
--- main.c 10 Jan 2006 06:20:38 -0000 1.83.2.2
***************
*** 119,123 ****
/* Check if user is root */
! if(getuid() || getgid())
{
fprintf(stderr, "You must be root(uid = 0) to run olsrd!\nExiting\n\n");
--- 119,123 ----
/* Check if user is root */
! if(getuid())
{
fprintf(stderr, "You must be root(uid = 0) to run olsrd!\nExiting\n\n");
More information about the Olsr-cvs
mailing list