summaryrefslogtreecommitdiff
path: root/src/lib-popt/poptconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib-popt/poptconfig.c')
-rw-r--r--src/lib-popt/poptconfig.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib-popt/poptconfig.c b/src/lib-popt/poptconfig.c
index 67c084e5..9219e9bf 100644
--- a/src/lib-popt/poptconfig.c
+++ b/src/lib-popt/poptconfig.c
@@ -127,7 +127,9 @@ int poptReadDefaultConfig(poptContext con, int useEnv) {
rc = poptReadConfigFile(con, "/etc/popt");
if (rc) return rc;
+#ifndef WIN32
if (getuid() != geteuid()) return 0;
+#endif
if ((home = getenv("HOME"))) {
fn = alloca(strlen(home) + 20);