chiark / gitweb /
disorder authorize now creates ~USER/.disorder/passwd instead of
[disorder] / lib / configuration.c
index d81b09b0d63841d2a681287b07011e6bb76549c1..ba50f3cbaa2a3414e2242b1086420e06e478b960 100644 (file)
@@ -1359,7 +1359,7 @@ int config_read(int server) {
       return -1;
     xfree(privconf);
     /* if we have a password file, read it */
-    if((privconf = config_userconf(getenv("HOME"), pw))
+    if((privconf = config_userconf(0, pw))
        && access(privconf, F_OK) == 0
        && config_include(c, privconf))
       return -1;