aboutsummaryrefslogtreecommitdiffstats
path: root/certificate-renew-issued.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-03-08 12:45:37 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-03-12 20:37:57 +0100
commit7c38b9a35c972a9b65c16c581c8da1b4d456b0fe (patch)
treee79e2119dcde33cd92d436f0b13e0eeeea9c0bb5 /certificate-renew-issued.rsc
parent12435ff1c53e7ef3b8b63b28860a3f35f8146184 (diff)
certificate-renew-issued: switch to $LogPrint
Diffstat (limited to 'certificate-renew-issued.rsc')
-rw-r--r--certificate-renew-issued.rsc10
1 files changed, 5 insertions, 5 deletions
diff --git a/certificate-renew-issued.rsc b/certificate-renew-issued.rsc
index a360a3f..45805c5 100644
--- a/certificate-renew-issued.rsc
+++ b/certificate-renew-issued.rsc
@@ -16,7 +16,7 @@
:global CertIssuedExportPass;
- :global LogPrintExit2;
+ :global LogPrint;
:global MkDir;
:global ScriptLock;
@@ -36,13 +36,13 @@
/certificate/export-certificate ($CertVal->"name") type=pkcs12 \
file-name=("cert-issued/" . $CertVal->"common-name") \
export-passphrase=($CertIssuedExportPass->($CertVal->"common-name"));
- $LogPrintExit2 info $ScriptName ("Issued a new certificate for \"" . $CertVal->"common-name" . \
- "\", exported to \"cert-issued/" . $CertVal->"common-name" . ".p12\".") false;
+ $LogPrint info $ScriptName ("Issued a new certificate for \"" . $CertVal->"common-name" . \
+ "\", exported to \"cert-issued/" . $CertVal->"common-name" . ".p12\".");
} else={
- $LogPrintExit2 warning $ScriptName ("Failed creating directory, not exporting certificate.") false;
+ $LogPrint warning $ScriptName ("Failed creating directory, not exporting certificate.");
}
} else={
- $LogPrintExit2 info $ScriptName ("Issued a new certificate for \"" . $CertVal->"common-name" . "\".") false;
+ $LogPrint info $ScriptName ("Issued a new certificate for \"" . $CertVal->"common-name" . "\".");
}
}
} on-error={ }