Silently disable X11 forwarding

Based on feedback on previous update:
https://bodhi.fedoraproject.org/updates/FEDORA-2016-47ac27532d
This commit is contained in:
Jakub Jelen 2016-01-30 01:12:38 +01:00
parent c08255b7b1
commit ca79709ade

View File

@ -113,7 +113,7 @@ index f555451..c0386d5 100644
- } else if (!client_x11_display_valid(display)) {
- logit("DISPLAY '%s' invalid, falling back to fake xauth data",
+ if (!client_x11_display_valid(display)) {
+ logit("DISPLAY \"%s\" invalid; disabling X11 forwarding",
+ debug("DISPLAY \"%s\" invalid; disabling X11 forwarding",
display);
- } else {
- if (display == NULL) {