nixpkgs/pkgs/tools/networking/networkmanager/fortisslvpn/fix-paths.patch

12 lines
392 B
Diff

diff --git a/src/nm-fortisslvpn-service.c b/src/nm-fortisslvpn-service.c
index 6c340d0..995c981 100644
--- a/src/nm-fortisslvpn-service.c
+++ b/src/nm-fortisslvpn-service.c
@@ -182,6 +182,7 @@ nm_find_openfortivpn (void)
{
static const char *openfortivpn_binary_paths[] =
{
+ "@openfortivpn@/bin/openfortivpn",
"/usr/local/bin/openfortivpn",
"/usr/bin/openfortivpn",
NULL