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:
committed by
Git OBS Bridge
parent
5c0c497eea
commit
084c35400e
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user