Enlightenment CVS committal

Author  : atmosphere
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance/src/client


Modified Files:
        entrance_config.c 


Log Message:
let slackware users run entrance -T too, thx stackpopper
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_config.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- entrance_config.c   10 Apr 2004 22:20:24 -0000      1.24
+++ entrance_config.c   16 Dec 2004 01:48:11 -0000      1.25
@@ -190,7 +190,9 @@
       {
          syslog(LOG_CRIT,
                 "/etc/shadow was found but couldn't be read. Run entrance as 
root.");
-         exit(-1);
+         if(getuid() == 0) {
+             exit(-1);
+         }
       }
    }
 #ifndef HAVE_PAM




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to