diff --git a/simplemonitor/Monitors/remote_ssh.py b/simplemonitor/Monitors/remote_ssh.py index 42659014..23da6e61 100644 --- a/simplemonitor/Monitors/remote_ssh.py +++ b/simplemonitor/Monitors/remote_ssh.py @@ -120,7 +120,7 @@ def run_test(self) -> bool: f"connection to {self.target_hostname} failed: {e}" ) else: - _, stdout, _ = client.exec_command(self.command) + _, stdout, _ = client.exec_command(self.command) # nosec # extract and cast the actual value try: # let's hope for the best