From b761034aaeda2317f90b25d1d0bd5cfceb457e4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Fri, 31 Oct 2025 10:28:18 +0800 Subject: [PATCH] OS (Linux): prints debian version on Raspbery Pi OS Fixes #2032 --- src/detection/os/os_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detection/os/os_linux.c b/src/detection/os/os_linux.c index e66e1fe62..23b956832 100644 --- a/src/detection/os/os_linux.c +++ b/src/detection/os/os_linux.c @@ -240,7 +240,7 @@ FF_MAYBE_UNUSED static bool detectDebianDerived(FFOSResult* result) ffStrbufSetStatic(&result->id, "raspbian"); ffStrbufSetStatic(&result->idLike, "debian"); ffStrbufSetStatic(&result->name, "Raspberry Pi OS"); - ffStrbufSetStatic(&result->prettyName, "Raspberry Pi OS"); + getDebianVersion(result); return true; } else if (ffPathExists("/boot/dietpi/.version", FF_PATHTYPE_FILE))