SHA256
1
0
forked from pool/openssh

Accepting request 717662 from home:Vogtinator:branches:network

- ssh-askpass: Try a fallback if the other option is not available

OBS-URL: https://build.opensuse.org/request/show/717662
OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=192
This commit is contained in:
Hans Petter Jansson
2019-07-22 18:28:13 +00:00
committed by Git OBS Bridge
parent 5c0c497eea
commit 084c35400e
4 changed files with 11 additions and 4 deletions

View File

@@ -15,10 +15,12 @@ KDE_SSH_ASKPASS="@LIBEXECDIR@/ssh/ksshaskpass"
case "$SESSION" in
kde)
exec $KDE_SSH_ASKPASS ${1+"$@"}
[ -e $KDE_SSH_ASKPASS ] && exec $KDE_SSH_ASKPASS ${1+"$@"}
exec $GNOME_SSH_ASKPASS ${1+"$@"}
;;
*)
exec $GNOME_SSH_ASKPASS ${1+"$@"}
[ -e GNOME_SSH_ASKPASS ] && exec $GNOME_SSH_ASKPASS ${1+"$@"}
exec $KDE_SSH_ASKPASS ${1+"$@"}
;;
esac