update elogind detection

This commit is contained in:
bbedward committed 2025-09-02 11:25:38 -04:00
1 parent cb1b0550a2
commit 3eddef40fb
1 file changed
+1 -1
+1 -1
View File
@@ -33,7 +33,7 @@ Singleton {
Process {
id: detectElogindProcess
running: false
command: ["sh", "-c", "ps -eo comm= | grep -Fx elogind-daemon"]
command: ["sh", "-c", "ps -eo comm= | grep -E '^(elogind|elogind-daemon)$'"]
onExited: function (exitCode) {
console.log("SessionService: Elogind detection exited with code", exitCode)