From: Adolf Belka Date: Sat, 28 Jun 2025 13:48:49 +0000 (+0200) Subject: functions.pl: pakfir cleanup X-Git-Tag: v2.29-core196~7^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2527b86ee85ebe89d585f4fb1db2aac0c1026684;p=ipfire-2.x.git functions.pl: pakfir cleanup - I wondered what was supposed to be in the pakfire.log file that has always been empty so I had a look around and discovered that it has been commented out since CU30 - So this patch removes that commented out line and the other patches in this set remove the creation of the empty pakfire.log file and stop it being restored etc Signed-off-by: Adolf Belka Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl index 2f172c398..e2c646313 100644 --- a/src/pakfire/lib/functions.pl +++ b/src/pakfire/lib/functions.pl @@ -2,7 +2,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2022 IPFire Team # +# Copyright (C) 2007-2025 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 # @@ -105,7 +105,6 @@ sub message { sub logger { my $log = shift; if ($log) { - #system("echo \"`date`: $log\" >> /var/log/pakfire.log"); system("logger -t pakfire \"$log\""); } }