mirror of https://github.com/OpenVPN/openvpn-gui
Close service pipe in case of startup error
Without this the service will continue to wait for input from GUI and log pipe read errors to the event log. Also fix a typo in the error messgae shown. Signed-off-by: Selva Nair <selva.nair@gmail.com>pull/118/head
parent
5af421861d
commit
d662991d13
|
@ -1551,6 +1551,7 @@ StartOpenVPN(connection_t *c)
|
|||
if ( !AuthorizeConfig(c))
|
||||
{
|
||||
CloseHandle(c->exit_event);
|
||||
CloseServiceIO(&c->iserv);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
|
@ -270,7 +270,7 @@ BEGIN
|
|||
IDS_ERR_CONFIG_TRY_AUTHORIZE "Starting this connection (%s) requires membership in "\
|
||||
"""%s"" group.\n\n"\
|
||||
"Do you want to add yourself to this group?\n"\
|
||||
"This action may prompt for administrtaive password or consent."
|
||||
"This action may prompt for administrative password or consent."
|
||||
IDS_NFO_CONFIG_AUTH_PENDING "Starting this connection (%s) requires membership in "\
|
||||
"""%s"" group.\n\n"\
|
||||
"Please complete the previous authorization dialog."
|
||||
|
|
Loading…
Reference in New Issue