[1/5] functions.pl: pakfir cleanup
Commit Message
- 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(-)
@@ -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\"");
}
}