From 6ceb538a2c6768c523fcc85638982babd720f417 Mon Sep 17 00:00:00 2001 From: Leigh B Stoller Date: Thu, 15 Mar 2012 11:30:23 -0600 Subject: [PATCH] Clean up some temporary files we were leaving behind. --- protogeni/scripts/getcacerts.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/protogeni/scripts/getcacerts.in b/protogeni/scripts/getcacerts.in index 4b73358e7..8036a0dab 100755 --- a/protogeni/scripts/getcacerts.in +++ b/protogeni/scripts/getcacerts.in @@ -195,6 +195,10 @@ if ($?) { $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. @@ -220,6 +224,8 @@ if ($?) { $restartapache = 1; } +unlink("/tmp/genicrl.bundle.$$") + if (-e "/tmp/genicrl.bundle.$$"); if ($restartapache) { system("$APACHE_START restart") == 0 -- GitLab