From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 2/3] openvpn-authenticator: Drop some dead code Date: Tue, 06 Dec 2022 10:01:43 +0000 Message-ID: <20221206100144.4150532-2-michael.tremer@ipfire.org> In-Reply-To: <20221206100144.4150532-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5081992858315980147==" List-Id: --===============5081992858315980147== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Michael Tremer --- config/ovpn/openvpn-authenticator | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/config/ovpn/openvpn-authenticator b/config/ovpn/openvpn-authenti= cator index 5d9348d7e..c22e08f0a 100644 --- a/config/ovpn/openvpn-authenticator +++ b/config/ovpn/openvpn-authenticator @@ -97,18 +97,6 @@ class OpenVPNAuthenticator(object): # Send the command self._write_line(command) =20 - return # XXX Code below doesn't work - - # Read response - response =3D self._read_line() - - # Handle response - if not response.startswith("SUCCESS:"): - log.error("Command '%s' returned an error:" % command) - log.error(" %s" % response) - - return response - def run(self): # Connect to socket self.sock =3D socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) --=20 2.30.2 --===============5081992858315980147==--