]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
pakfire/functions.pl: Adjust log level
authorLeo-Andres Hofmann <hofmann@leo-andres.de>
Mon, 18 Jul 2022 16:48:54 +0000 (18:48 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 19 Jul 2022 07:50:06 +0000 (07:50 +0000)
The informative pakfire message
"No new upgrades available. You are on release ..."
does not mean that an error has happened. This patch adjusts
the log level prefix to "info" accordingly.

Reported-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/lib/functions.pl

index 24c55fd4ae7585591aee8b8f7beb78429e161e67..505988af9016cf10492338889d08b5d6ffa914fd 100644 (file)
@@ -797,7 +797,7 @@ sub upgradecore {
                system("echo $core_release > $Conf::coredir/mine");
 
        } else {
-               message("CORE ERROR: No new upgrades available. You are on release $Conf::core_mine.");
+               message("CORE INFO: No new upgrades available. You are on release $Conf::core_mine.");
        }
 }