From 88d73bef9143b7c11718aca7709eb57b29049f90 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 18 Jun 2012 19:59:15 +0200 Subject: [PATCH] redirect_wrapper: fix logfile path in log output. fixes #10126. --- config/rootfiles/core/61/filelists/files | 1 + config/urlfilter/redirect_wrapper | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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); -- 2.39.5