projects
/
bumblebee.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9354eef
)
ignore systemd-logind noise
author
Peter Wu
<peter@lekensteyn.nl>
Wed, 13 Nov 2024 23:04:09 +0000
(
00:04
+0100)
committer
Andreas Beckmann
<anbe@debian.org>
Wed, 13 Nov 2024 23:04:09 +0000
(
00:04
+0100)
Bug: https://github.com/Bumblebee-Project/Bumblebee/issues/582
Origin: commit:
b506a03abab85bc202109f8eeda5c337ee956935
Applied-Upstream: commit:
b506a03abab85bc202109f8eeda5c337ee956935
This "error" appears when not run under logind. As it is not fatal,
ignore it. (It also appears on my KDE desktop using KDM.)
Gbp-Pq: Name ignore-systemd-logind-noise.patch
src/bblogger.c
patch
|
blob
|
history
diff --git
a/src/bblogger.c
b/src/bblogger.c
index aaadba996ac051e379a6c018e7fb2ed260a9163f..c8822750d681419763a33d35c6d8357d696317d6 100644
(file)
--- a/
src/bblogger.c
+++ b/
src/bblogger.c
@@
-145,6
+145,7
@@
static void parse_xorg_output(char * string){
if (strncmp(string, "(EE)", 4) == 0){
if (strstr(string, "Failed to load module \"kbd\"") ||
strstr(string, "No input driver matching") ||
+ strstr(string, "systemd-logind: failed to get session:") ||
strstr(string, "Server terminated successfully")) {
/* non-fatal errors */
prio = LOG_DEBUG;
@@
-201,7
+202,7
@@
static void parse_xorg_output(char * string){
}
}
}
-
+
/* do the actual logging */
bb_log(prio, "[XORG] %s\n", string);
}