diff options
author | Rob Austein <sra@hactrn.net> | 2013-02-03 16:36:45 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2013-02-03 16:36:45 +0000 |
commit | 7c51ba40e4e18405fbd271f0e6fbfa34b062b90f (patch) | |
tree | 7d28fb79740191642bf1393ae0bc6744a49cf2c6 | |
parent | 7e8367e955bfd3a5efb7dcc32ea600f21a1067b3 (diff) |
Don't try to run rcynic-html if parent output directory doesn't exist.
svn path=/branches/tk377/; revision=5019
-rw-r--r-- | rcynic/rcynic-cron.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rcynic/rcynic-cron.py b/rcynic/rcynic-cron.py index 4687ff5b..d985d7e3 100644 --- a/rcynic/rcynic-cron.py +++ b/rcynic/rcynic-cron.py @@ -79,7 +79,7 @@ except (IOError, OSError), e: run(bin("rcynic", chroot = True), "-c", etc("rcynic.conf", chroot = True), chroot = True) -if ac_rcynic_html_dir: +if ac_rcynic_html_dir and os.path.exists(os.path.dirname(ac_rcynic_html_dir)): run(bin("rcynic-html"), rcy("data/rcynic.xml"), ac_rcynic_html_dir) run(bin("rtr-origin"), "--cronjob", rcy("data/authenticated"), cwd = rcy("rpki-rtr")) |