diff options
author | Mike Gilbert <floppym@gentoo.org> | 2014-07-03 16:24:05 -0400 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2014-09-05 16:00:54 +0200 |
commit | ba79c71d1255651bfcb8570519b4033c763d47d3 (patch) | |
tree | b264966c64194bbb08ebfd32c4b077e6e4e554b4 /src/openvpn/console.c | |
parent | 38cd1ed5ee89218415c5edfc990cfd47fd879d55 (diff) | |
download | openvpn-ba79c71d1255651bfcb8570519b4033c763d47d3.tar.gz openvpn-ba79c71d1255651bfcb8570519b4033c763d47d3.tar.xz openvpn-ba79c71d1255651bfcb8570519b4033c763d47d3.zip |
Add configure check for the path to systemd-ask-password
Gentoo Linux installs this in /usr/bin by default. Also, the user may
have installed it in /usr/local/bin if building from source.
Acked-by: David Sommerseth <davids@redhat.com>
Message-Id: 1404419045-14728-1-git-send-email-floppym@gentoo.org
URL: http://article.gmane.org/gmane.network.openvpn.devel/8825
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'src/openvpn/console.c')
-rw-r--r-- | src/openvpn/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvpn/console.c b/src/openvpn/console.c index afda8ca..059b6f0 100644 --- a/src/openvpn/console.c +++ b/src/openvpn/console.c @@ -162,7 +162,7 @@ get_console_input_systemd (const char *prompt, const bool echo, char *input, con struct argv argv; argv_init (&argv); - argv_printf (&argv, "/bin/systemd-ask-password"); + argv_printf (&argv, SYSTEMD_ASK_PASSWORD_PATH); argv_printf_cat (&argv, "%s", prompt); if ((std_out = openvpn_popen (&argv, NULL)) < 0) { |