diff options
author | Peter Palfrader <peter@palfrader.org> | 2006-03-28 07:48:30 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2006-03-28 07:48:30 +0000 |
commit | 4f0d7b74243644fce7c20b47c3024cf2b622de8f (patch) | |
tree | 4bea2c4c6435af2b35d767b55ddee2b61f027ce1 /debian/patches | |
parent | 26eb815f7388742eab5722f5e2cac9baaae6eacf (diff) | |
download | tor-4f0d7b74243644fce7c20b47c3024cf2b622de8f.tar.gz tor-4f0d7b74243644fce7c20b47c3024cf2b622de8f.zip |
Forward port patches/07_log_to_file_by_defaultdebian-version-0.1.1.22-1debian-version-0.1.1.21-1debian-version-0.1.1.20-1debian-version-0.1.1.19-rc-1debian-version-0.1.1.17-rc-1
svn:r6263
Diffstat (limited to 'debian/patches')
-rwxr-xr-x | debian/patches/07_log_to_file_by_default.dpatch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/patches/07_log_to_file_by_default.dpatch b/debian/patches/07_log_to_file_by_default.dpatch index 3ea101780f..da9aaf4324 100755 --- a/debian/patches/07_log_to_file_by_default.dpatch +++ b/debian/patches/07_log_to_file_by_default.dpatch @@ -23,15 +23,15 @@ esac exit 0 @DPATCH@ -diff -urNad tor-0.1.1.5/src/or/config.c /tmp/dpep.YwfNhI/tor-0.1.1.5/src/or/config.c ---- tor-0.1.1.5/src/or/config.c -+++ /tmp/dpep.YwfNhI/tor-0.1.1.5/src/or/config.c -@@ -1548,7 +1548,7 @@ +diff -urNad tor-0.1.1.17/src/or/config.c /tmp/dpep.YwfNhI/tor-0.1.1.17/src/or/config.c +--- tor-0.1.1.17/src/or/config.c ++++ /tmp/dpep.YwfNhI/tor-0.1.1.17/src/or/config.c +@@ -2079,7 +2079,7 @@ /* Special case on first boot if no Log options are given. */ - if (!options->Logs && !from_setconf) { + if (!options->Logs && !from_setconf) - config_line_append(&options->Logs, "Log", "notice stdout"); + config_line_append(&options->Logs, "Log", "notice file /var/log/tor/log"); - } if (options_init_logs(options, 1)<0) /* Validate the log(s) */ + REJECT("Failed to validate Log options. See logs for details."); |