diff --git a/src/detection/lm/lm_linux.c b/src/detection/lm/lm_linux.c index 93137bcd6..6b96db254 100644 --- a/src/detection/lm/lm_linux.c +++ b/src/detection/lm/lm_linux.c @@ -122,6 +122,7 @@ static const char* getLightdmVersion(FFstrbuf* version) // lightdm 1.30.0 ffStrbufSubstrAfterFirstC(version, ' '); + ffStrbufTrimRight(version, '\n'); return NULL; }