public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Leo-Andres Hofmann <hofmann@leo-andres.de>
To: development@lists.ipfire.org
Subject: [PATCH] pakfire/functions.pl: Adjust log level
Date: Mon, 18 Jul 2022 18:48:54 +0200	[thread overview]
Message-ID: <20220718164854.485-1-hofmann@leo-andres.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 923 bytes --]

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(a)ipfire.org>
Signed-off-by: Leo-Andres Hofmann <hofmann(a)leo-andres.de>
---
 src/pakfire/lib/functions.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl
index 24c55fd4a..505988af9 100644
--- a/src/pakfire/lib/functions.pl
+++ b/src/pakfire/lib/functions.pl
@@ -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.");
 	}
 }
 
-- 
2.27.0.windows.1


             reply	other threads:[~2022-07-18 16:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-18 16:48 Leo-Andres Hofmann [this message]
2022-07-19 14:06 ` Adolf Belka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220718164854.485-1-hofmann@leo-andres.de \
    --to=hofmann@leo-andres.de \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox