1
0
mirror of https://github.com/moepman/acertmgr.git synced 2024-11-13 07:55:26 +01:00

Only execute actions once

instead of once per domain
This commit is contained in:
David Klaftenegger 2016-04-07 00:43:57 +02:00 committed by Markus Hauschild
parent dc83df8d97
commit 9624f8c704

View File

@ -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())