e askpass - also set SSH_ASKPASS like with sudo

this means that is ssh runs with no tty/terminal available then it can
ask for a password with the same gui as for sudo that e provides.
This commit is contained in:
Carsten Haitzler 2016-08-16 16:01:57 +09:00
parent 54d446b05e
commit 18aab4be01
1 changed files with 1 additions and 0 deletions

View File

@ -327,6 +327,7 @@ main(int argc, char **argv)
e_util_env_set("DESKTOP", "Enlightenment");
snprintf(buff, sizeof(buff), "%s/enlightenment_askpass", e_prefix_bin_get());
e_util_env_set("SUDO_ASKPASS", buff);
e_util_env_set("SSH_ASKPASS", buff);
TS("Environment Variables Done");
/* KDE5 applications don't understand anything other then gnome or kde */