[network-manager-openconnect] Look for openconnect binary in /usr/sbin too.
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openconnect] Look for openconnect binary in /usr/sbin too.
- Date: Fri, 30 Sep 2011 11:38:22 +0000 (UTC)
commit 04411c56d511498f613bf2b68caac047a9a55195
Author: David Woodhouse <David Woodhouse intel com>
Date: Fri Sep 30 12:35:45 2011 +0100
Look for openconnect binary in /usr/sbin too.
The hard-coded paths here are weird. Why not use AM_PATH_PROG or even $prefix
src/nm-openconnect-service.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/nm-openconnect-service.c b/src/nm-openconnect-service.c
index d20b010..a5d95ce 100644
--- a/src/nm-openconnect-service.c
+++ b/src/nm-openconnect-service.c
@@ -57,8 +57,11 @@ typedef struct {
static const char *openconnect_binary_paths[] =
{
"/usr/bin/openconnect",
+ "/usr/sbin/openconnect",
"/usr/local/bin/openconnect",
+ "/usr/local/sbin/openconnect",
"/opt/bin/openconnect",
+ "/opt/sbin/openconnect",
NULL
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]