From 608d289cddb4e01a282c21107e0cbacbc4b3e65f Mon Sep 17 00:00:00 2001 From: itwrx Date: Wed, 5 Jul 2023 17:32:01 -0500 Subject: [PATCH] remove path for non-functional gnome-aah-askpass. add path for functional ssh-askpass. --- shared.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared.nim b/shared.nim index ced13e9..d73d319 100644 --- a/shared.nim +++ b/shared.nim @@ -31,8 +31,8 @@ proc getAskPassPath*(): string = if fileExists("/usr/libexec/openssh/ssh-askpass"): askPassPath = "/usr/libexec/openssh/ssh-askpass" - elif fileExists("/usr/lib/openssh/gnome-ssh-askpass"): - askPassPath = "/usr/lib/openssh/gnome-ssh-askpass" + elif fileExists("/usr/lib/ssh/x11-ssh-askpass"): + askPassPath = "/usr/lib/ssh/x11-ssh-askpass" elif fileExists("/usr/lib/ssh/gtk-ssh-askpass"): askPassPath = "/usr/lib/ssh/gtk-ssh-askpass" elif fileExists("/usr/lib/ssh/ssh-askpass"):