mirror of
https://github.com/moepman/acertmgr.git
synced 2024-12-29 10:31:49 +01:00
Only execute actions once
instead of once per domain
This commit is contained in:
parent
dc83df8d97
commit
9624f8c704
@ -216,7 +216,7 @@ if __name__ == "__main__":
|
||||
if not target_isCurrent(cfg['path'], crt_file):
|
||||
actions.add(cert_put(domains, cfg))
|
||||
|
||||
# run post-update actions
|
||||
for action in actions:
|
||||
if action is not None:
|
||||
subprocess.call(action.split())
|
||||
# run post-update actions
|
||||
for action in actions:
|
||||
if action is not None:
|
||||
subprocess.call(action.split())
|
||||
|
Loading…
Reference in New Issue
Block a user