From: Arne Fitzenreiter Date: Mon, 18 Jun 2012 17:59:15 +0000 (+0200) Subject: redirect_wrapper: fix logfile path in log output. X-Git-Tag: v2.11-core61^2~26^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=88d73bef9143b7c11718aca7709eb57b29049f90;p=people%2Fms%2Fipfire-2.x.git redirect_wrapper: fix logfile path in log output. fixes #10126. --- diff --git a/config/rootfiles/core/61/filelists/files b/config/rootfiles/core/61/filelists/files index 78765a6d67..11316ebad2 100644 --- a/config/rootfiles/core/61/filelists/files +++ b/config/rootfiles/core/61/filelists/files @@ -5,3 +5,4 @@ srv/web/ipfire/cgi-bin/index.cgi srv/web/ipfire/cgi-bin/ovpnmain.cgi var/ipfire/general-functions.pl var/ipfire/langs +usr/sbin/redirect_wrapper diff --git a/config/urlfilter/redirect_wrapper b/config/urlfilter/redirect_wrapper index c3bbf7c9f4..ceae12b2bc 100644 --- a/config/urlfilter/redirect_wrapper +++ b/config/urlfilter/redirect_wrapper @@ -2,7 +2,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2009 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007-2012 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -115,7 +115,7 @@ while($line = <>) { exit 0; sub writetolog { - open(DATEI, ">>/var/log/squid/redirector_debug") || die "Unable to acces file /var/log/redirector_debug"; + open(DATEI, ">>/var/log/squid/redirector_debug") || die "Unable to acces file /var/log/squid/redirector_debug"; my $log = shift; print DATEI $log."\n"; close(DATEI);