ALT Linux Bugzilla
– Attachment 8085 Details for
Bug 36557
Не выполняется askpass в системе без xorg
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
openssh-wayland.patch
openssh-wayland.patch (text/plain), 595 bytes, created by
Alexey Gladkov
on 2019-04-07 21:47:49 MSK
(
hide
)
Description:
openssh-wayland.patch
Filename:
MIME Type:
Creator:
Alexey Gladkov
Created:
2019-04-07 21:47:49 MSK
Size:
595 bytes
patch
obsolete
>diff --git a/readpass.c b/readpass.c >index f160f866..c2b90c8e 100644 >--- a/readpass.c >+++ b/readpass.c >@@ -140,10 +140,10 @@ read_passphrase(const char *prompt, int flags) > } > } > >- if ((flags & RP_USE_ASKPASS) && getenv("DISPLAY") == NULL) >+ if ((flags & RP_USE_ASKPASS) && (getenv("DISPLAY") == NULL || getenv("WAYLAND_DISPLAY") == NULL)) > return (flags & RP_ALLOW_EOF) ? NULL : xstrdup(""); > >- if (use_askpass && getenv("DISPLAY")) { >+ if (use_askpass && (getenv("DISPLAY") || getenv("WAYLAND_DISPLAY"))) { > if (getenv(SSH_ASKPASS_ENV)) > askpass = getenv(SSH_ASKPASS_ENV); > else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 36557
: 8085