Commit 6ceb538a authored by Leigh B Stoller's avatar Leigh B Stoller

Clean up some temporary files we were leaving behind.

parent 228d2aea
...@@ -195,6 +195,10 @@ if ($?) { ...@@ -195,6 +195,10 @@ if ($?) {
$restartapache = 1; $restartapache = 1;
} }
unlink("/tmp/genica.bundle.$$")
if (-e "/tmp/genica.bundle.$$");
system("/bin/rm -rf /tmp/genicacerts.$$")
if (-e "/tmp/genicacerts.$$");
# #
# Prepend the local/latest CRL with what we got from Utah. # Prepend the local/latest CRL with what we got from Utah.
...@@ -220,6 +224,8 @@ if ($?) { ...@@ -220,6 +224,8 @@ if ($?) {
$restartapache = 1; $restartapache = 1;
} }
unlink("/tmp/genicrl.bundle.$$")
if (-e "/tmp/genicrl.bundle.$$");
if ($restartapache) { if ($restartapache) {
system("$APACHE_START restart") == 0 system("$APACHE_START restart") == 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment