[network-manager-vpnc/dcbw/need-secrets: 5/10] fixup! core: parse vpnc stdin/stdout and request secrets asynchronously



commit 06e0b58c008b3c0c3a9c14730fac7de15db38934
Author: Dan Williams <dcbw redhat com>
Date:   Fri Sep 26 16:48:31 2014 -0500

    fixup! core: parse vpnc stdin/stdout and request secrets asynchronously

 src/nm-vpnc-service.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/nm-vpnc-service.c b/src/nm-vpnc-service.c
index d851115..f6946ba 100644
--- a/src/nm-vpnc-service.c
+++ b/src/nm-vpnc-service.c
@@ -347,8 +347,6 @@ vpnc_cleanup (NMVPNCPlugin *self, gboolean killit)
                        /* Try giving it some time to disconnect cleanly */
                        if (kill (priv->pid, SIGTERM) == 0)
                                g_timeout_add (2000, ensure_killed, GINT_TO_POINTER (priv->pid));
-                       else
-                               kill (priv->pid, SIGKILL);
                        g_message ("Terminated vpnc daemon with PID %d.", priv->pid);
                } else {
                        /* Already quit, just reap the child */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]