redirect_wrapper: fix logfile path in log output.
authorArne Fitzenreiter <Arne_F@ipfire.org>
Mon, 18 Jun 2012 17:59:15 +0000 (19:59 +0200)
committerArne Fitzenreiter <Arne_F@ipfire.org>
Mon, 18 Jun 2012 17:59:15 +0000 (19:59 +0200)
fixes #10126.

config/rootfiles/core/61/filelists/files
config/urlfilter/redirect_wrapper

index 78765a6d6775b4d8247b854087a0ec9bb2364ede..11316ebad211aa7df3b8255730f04916cb97b75f 100644 (file)
@@ -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
index c3bbf7c9f45ff7549abed98768b729a9dfc24601..ceae12b2bc97da3af78a52c6e5bb129f59cc0e30 100644 (file)
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2009  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2012  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # 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);