[Olsr-cvs] olsrd-current/src main.c,1.86,1.87
Andreas T�nnesen
(spam-protected)
Tue Jan 10 07:20:15 CET 2006
Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31776/src
Modified Files:
main.c
Log Message:
Removed getgid check
Index: main.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/main.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -C2 -d -r1.86 -r1.87
*** main.c 7 Jan 2006 18:05:05 -0000 1.86
--- main.c 10 Jan 2006 06:20:13 -0000 1.87
***************
*** 119,123 ****
#ifndef WIN32
/* Check if user is root */
! if(getuid() || getgid())
{
fprintf(stderr, "You must be root(uid = 0) to run olsrd!\nExiting\n\n");
--- 119,123 ----
#ifndef WIN32
/* 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