From a8b629f58ccb4d71c006340fab47fc8a1247aa28 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Wed, 13 May 2026 13:23:23 +0800 Subject: [PATCH] DE (Linux): fixes an inverted test --- src/detection/de/de_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detection/de/de_linux.c b/src/detection/de/de_linux.c index 801e8fe9c..de7a220c6 100644 --- a/src/detection/de/de_linux.c +++ b/src/detection/de/de_linux.c @@ -228,7 +228,7 @@ static const char* getEnlightenmentByDbus(FF_A_UNUSED FFstrbuf* result) { dbus.lib->ffdbus_message_unref(reply); return "dbus_message_iter_init() failed"; } - if (ffDBusGetString(&dbus, &rootIterator, result)) { + if (!ffDBusGetString(&dbus, &rootIterator, result)) { dbus.lib->ffdbus_message_unref(reply); return "ffDBusGetString() failed"; }