From e85c3b1dc2de60f9950dc24afc5d57628e955baf Mon Sep 17 00:00:00 2001 From: n8fr8 Date: Thu, 7 May 2026 13:34:50 -0400 Subject: [PATCH] systemctl daemon-reload should be inside the module --- install_madmail.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/install_madmail.py b/install_madmail.py index 2fc3976..e3154cc 100644 --- a/install_madmail.py +++ b/install_madmail.py @@ -71,7 +71,6 @@ def run_madmail_installer(): child.sendline("y") child.expect(pexpect.EOF) - -daemon_reload = run(["sudo", "systemctl", "daemon-reload"], capture_output=True, text=True) -if daemon_reload.returncode != 0: - print(f"Issue running systemctl daemon_reload") \ No newline at end of file + daemon_reload = run(["sudo", "systemctl", "daemon-reload"], capture_output=True, text=True) + if daemon_reload.returncode != 0: + print(f"Issue running systemctl daemon_reload") \ No newline at end of file