]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
don't complain when approved-routers isn't there and we
authorRoger Dingledine <arma@torproject.org>
Sat, 9 Jun 2007 05:28:11 +0000 (05:28 +0000)
committerRoger Dingledine <arma@torproject.org>
Sat, 9 Jun 2007 05:28:11 +0000 (05:28 +0000)
don't need it.

svn:r10544

src/or/dirserv.c

index 612e2917ae49924a1ccd4b8d0073bd7d7d42c42e..b00f68dab81f3f5094830a218707014920a517a2 100644 (file)
@@ -183,7 +183,7 @@ dirserv_load_fingerprint_file(void)
   log_info(LD_GENERAL,
            "Reloading approved fingerprints from \"%s\"...", fname);
 
-  cf = read_file_to_str(fname, 0, NULL);
+  cf = read_file_to_str(fname, RFTS_IGNORE_MISSING, NULL);
   if (!cf) {
     if (options->NamingAuthoritativeDir) {
       log_warn(LD_FS, "Cannot open fingerprint file '%s'. Failing.", fname);