From e534cffcf7d16af54dd3c556c9fc3bf1bafb6a92 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Sun, 15 Mar 2026 10:41:34 +0100 Subject: [PATCH] Update health_monitor.py --- AppImage/scripts/health_monitor.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/AppImage/scripts/health_monitor.py b/AppImage/scripts/health_monitor.py index e104c36f..d970dd05 100644 --- a/AppImage/scripts/health_monitor.py +++ b/AppImage/scripts/health_monitor.py @@ -3898,14 +3898,14 @@ class HealthMonitor: # Sub-check 3: Failed login attempts (brute force detection) try: - result = subprocess.run( - ['journalctl', '--since', '24 hours ago', '--no-pager', - '-g', 'authentication failure|failed password|invalid user', - '--output=cat', '-n', '5000'], - capture_output=True, - text=True, - timeout=5 - ) + result = subprocess.run( + ['journalctl', '--since', '24 hours ago', '--no-pager', + '-g', 'authentication failure|failed password|invalid user', + '--output=cat', '-n', '5000'], + capture_output=True, + text=True, + timeout=5 + ) failed_logins = 0 if result.returncode == 0: