summaryrefslogtreecommitdiff
path: root/x11-wm/xpra/files/xpra-4.2-suid-warning.patch
blob: b1b2afb4e18b9a745da4f4f3fe2b82560101826d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --color -Naur a/xpra/scripts/config.py b/xpra/scripts/config.py
--- a/xpra/scripts/config.py	2021-05-19 16:18:30.475153200 +0100
+++ b/xpra/scripts/config.py	2021-05-30 08:50:42.326953006 +0100
@@ -159,7 +159,7 @@
             if (xorg_stat.st_mode & stat.S_ISUID)!=0:
                 if (xorg_stat.st_mode & stat.S_IROTH)==0:
                     if warn_fn:
-                        warn_fn("%s is suid and not readable, Xdummy support unavailable" % xorg_bin)
+                        debug("%s is suid and not readable, Xdummy support unavailable" % xorg_bin)
                     return get_Xvfb_command()
                 debug("%s is suid and readable, using the xpra_Xdummy wrapper" % xorg_bin)
                 use_wrapper = True