[1/5] functions.pl: pakfir cleanup

Message ID 20250628134853.3312365-1-adolf.belka@ipfire.org
State Staged
Commit 2527b86ee85ebe89d585f4fb1db2aac0c1026684
Headers
Series [1/5] functions.pl: pakfir cleanup |

Commit Message

Adolf Belka June 28, 2025, 1:48 p.m. UTC
  - 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 <adolf.belka@ipfire.org>
---
 src/pakfire/lib/functions.pl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
  

Patch

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   <info@ipfire.org>                   #
+# Copyright (C) 2007-2025   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        #
@@ -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\"");
 	}
 }