From e3cdecdb14ce21a32fbfb3a3f7eb28e5c4590155 Mon Sep 17 00:00:00 2001 From: halperyon <130178512+halperyon@users.noreply.github.com> Date: Tue, 23 Apr 2024 23:45:45 +0000 Subject: [PATCH] bedrock version (#809) --- src/detection/os/os_linux.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/detection/os/os_linux.c b/src/detection/os/os_linux.c index 5058033a2..74e9f1475 100644 --- a/src/detection/os/os_linux.c +++ b/src/detection/os/os_linux.c @@ -150,8 +150,11 @@ static void detectOS(FFOSResult* os) if(os->prettyName.length == 0) ffStrbufAppendS(&os->prettyName, "Bedrock Linux"); + + parseFile("/bedrock"FASTFETCH_TARGET_DIR_ETC"/os-release", os); - return; + if(allRelevantValuesSet(os)) + return; } parseFile(FASTFETCH_TARGET_DIR_ETC"/os-release", os);