add missing check

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30302 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-05-06 08:45:39 +00:00
parent ae539ae03d
commit d5714f3afd

View file

@ -332,6 +332,15 @@ gdomap_log (int prio)
void
gdomap_log (int prio)
{
if (in_config)
{
#ifndef __MINGW__
if (geteuid () != getuid ())
{
strcpy(ebuf, "problem with config file");
}
#endif
}
write (2, ebuf, strlen (ebuf));
write (2, "\n", 1);
if (prio == LOG_CRIT)