forked from rpms/openssh
Silently disable X11 forwarding
Based on feedback on previous update: https://bodhi.fedoraproject.org/updates/FEDORA-2016-47ac27532d
This commit is contained in:
parent
c08255b7b1
commit
ca79709ade
@ -113,7 +113,7 @@ index f555451..c0386d5 100644
|
|||||||
- } else if (!client_x11_display_valid(display)) {
|
- } else if (!client_x11_display_valid(display)) {
|
||||||
- logit("DISPLAY '%s' invalid, falling back to fake xauth data",
|
- logit("DISPLAY '%s' invalid, falling back to fake xauth data",
|
||||||
+ if (!client_x11_display_valid(display)) {
|
+ if (!client_x11_display_valid(display)) {
|
||||||
+ logit("DISPLAY \"%s\" invalid; disabling X11 forwarding",
|
+ debug("DISPLAY \"%s\" invalid; disabling X11 forwarding",
|
||||||
display);
|
display);
|
||||||
- } else {
|
- } else {
|
||||||
- if (display == NULL) {
|
- if (display == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user