Ignore error on X shutdown
authorDebian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>
Sat, 27 Jan 2024 00:28:10 +0000 (01:28 +0100)
committerAndreas Beckmann <anbe@debian.org>
Sat, 27 Jan 2024 00:28:10 +0000 (01:28 +0100)
Origin: upstream, https://github.com/Bumblebee-Project/Bumblebee/commit/25387e92822fb1a56fa43f1f9f636b987018d068
Applied-Upstream: commit:25387e92822fb1a56fa43f1f9f636b987018d068

Gbp-Pq: Name ignore-error-on-X-shutdown.patch

src/bblogger.c

index 55aa1630a9983e3a9f21e585f3aa90651f817d5f..aaadba996ac051e379a6c018e7fb2ed260a9163f 100644 (file)
@@ -144,7 +144,8 @@ static void parse_xorg_output(char * string){
   /* Error lines are errors. */
   if (strncmp(string, "(EE)", 4) == 0){
     if (strstr(string, "Failed to load module \"kbd\"") ||
-            strstr(string, "No input driver matching")) {
+            strstr(string, "No input driver matching") ||
+            strstr(string, "Server terminated successfully")) {
       /* non-fatal errors */
       prio = LOG_DEBUG;
     } else {