1
0
mirror of https://github.com/moepman/acertmgr.git synced 2025-01-01 06:41:51 +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
parent 089bfcc701
commit 779de54a93

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