diff --git a/parsedmarc/cli.py b/parsedmarc/cli.py index f3ef3ab..1d33448 100644 --- a/parsedmarc/cli.py +++ b/parsedmarc/cli.py @@ -2027,7 +2027,10 @@ def _main(): if not _reload_requested: break - # Reload configuration + # Reload configuration — clear the flag first so that any new + # SIGHUP arriving while we reload will be captured for the next + # iteration rather than being silently dropped. + _reload_requested = False logger.info("Reloading configuration...") try: # Build a fresh opts starting from CLI-only defaults so that