mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
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:
parent
ae539ae03d
commit
d5714f3afd
1 changed files with 9 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue