[or-cvs] Fix 07_log_to_file_by_default in debian head

Peter Palfrader weasel at seul.org
Wed Jun 21 22:13:05 UTC 2006


Update of /home/or/cvsroot/tor/debian/patches
In directory moria:/tmp/cvs-serv24618/debian/patches

Modified Files:
	07_log_to_file_by_default.dpatch 
Log Message:
Fix 07_log_to_file_by_default in debian head

Index: 07_log_to_file_by_default.dpatch
===================================================================
RCS file: /home/or/cvsroot/tor/debian/patches/07_log_to_file_by_default.dpatch,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -d -r1.8 -r1.9
--- 07_log_to_file_by_default.dpatch	15 Jun 2006 23:20:50 -0000	1.8
+++ 07_log_to_file_by_default.dpatch	21 Jun 2006 22:13:03 -0000	1.9
@@ -29,8 +29,9 @@ diff -urNad tor-0.1.2.0-alpha-cvs/src/or
 @@ -2079,7 +2079,7 @@
  
    /* Special case on first boot if no Log options are given. */
-   if (!options->Logs && !options->RunAsDaemon && !from_setconf)
+-  if (!options->Logs && !options->RunAsDaemon && !from_setconf)
 -    config_line_append(&options->Logs, "Log", "notice stdout");
++  if (!options->Logs && !from_setconf)
 +    config_line_append(&options->Logs, "Log", "notice file /var/log/tor/log");
  
    if (options_init_logs(options, 1)<0) /* Validate the log(s) */



More information about the tor-commits mailing list