From cd31031de545f26ce42ee38e32313e9b540b8566 Mon Sep 17 00:00:00 2001 From: Tramontano <25436631+tramontano@users.noreply.github.com> Date: Wed, 13 Mar 2024 20:07:26 -0300 Subject: [PATCH] Update f5_tmsh_ssh.py fixed "quit", Fixed "quit" closing session command, nothing is expected since the session is terminated immediately. --- netmiko/f5/f5_tmsh_ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netmiko/f5/f5_tmsh_ssh.py b/netmiko/f5/f5_tmsh_ssh.py index 639847a3e..1a82f49f4 100644 --- a/netmiko/f5/f5_tmsh_ssh.py +++ b/netmiko/f5/f5_tmsh_ssh.py @@ -22,7 +22,7 @@ def tmsh_mode(self, delay_factor: float = 1.0) -> str: return output def exit_tmsh(self) -> str: - output = self._send_command_str("quit", expect_string=r"#") + output = self._send_command_str("quit", expect_string=r"") self.set_base_prompt() return output