aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-04-12 11:19:37 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-04-15 09:11:25 +0200
commite1781fb8053db5cdb3b26d04009c216f7d2204ac (patch)
treeaf97f2f29e737b6ac226a2f88eb1f1916c6ac2b1
parent7aa5059f6d478fb8984caae7c906154a1d598488 (diff)
global-functions: $CertificateDownload: use single quotes
-rw-r--r--global-functions.rsc4
1 files changed, 2 insertions, 2 deletions
diff --git a/global-functions.rsc b/global-functions.rsc
index 17aa38f..918ea9a 100644
--- a/global-functions.rsc
+++ b/global-functions.rsc
@@ -141,7 +141,7 @@
:global WaitForFile;
$LogPrint info $0 ("Downloading and importing certificate with " . \
- "CommonName \"" . $CommonName . "\".");
+ "CommonName '" . $CommonName . "'.");
:do {
:local FileName ([ $CleanName $CommonName ] . ".pem");
/tool/fetch check-certificate=yes-without-crl http-header-field=({ [ $FetchUserAgentStr $0 ] }) \
@@ -156,7 +156,7 @@
$CertificateNameByCN [ /certificate/get $Cert common-name ];
}
} on-error={
- $LogPrint warning $0 ("Failed importing certificate with CommonName \"" . $CommonName . "\"!");
+ $LogPrint warning $0 ("Failed importing certificate with CommonName '" . $CommonName . "'!");
:return false;
}
:return true;