[network-manager-fortisslvpn/th/gtk-split-and-log-bgo771544] service: log openfortvpn arguments
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-fortisslvpn/th/gtk-split-and-log-bgo771544] service: log openfortvpn arguments
- Date: Mon, 19 Sep 2016 08:05:55 +0000 (UTC)
commit 6fe2f0a549deb65f9a564858b12606b4892dbbc0
Author: Thomas Haller <thaller redhat com>
Date: Mon Sep 19 10:00:22 2016 +0200
service: log openfortvpn arguments
src/nm-fortisslvpn-service.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/nm-fortisslvpn-service.c b/src/nm-fortisslvpn-service.c
index 24c96c5..5b95b2c 100644
--- a/src/nm-fortisslvpn-service.c
+++ b/src/nm-fortisslvpn-service.c
@@ -421,6 +421,7 @@ run_openfortivpn (NMFortisslvpnPlugin *plugin, NMSettingVpn *s_vpn, GError **err
const char *openfortivpn;
GPtrArray *argv;
const char *value;
+ gs_free char *str_tmp = NULL;
openfortivpn = nm_find_openfortivpn ();
if (!openfortivpn) {
@@ -476,6 +477,8 @@ run_openfortivpn (NMFortisslvpnPlugin *plugin, NMSettingVpn *s_vpn, GError **err
g_ptr_array_add (argv, NULL);
+ _LOGD ("start %s", (str_tmp = g_strjoinv (" ", (char **) argv->pdata)));
+
if (!g_spawn_async (NULL, (char **) argv->pdata, NULL,
G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, &pid, error)) {
g_ptr_array_free (argv, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]