diff options
author | Christian Hesse <mail@eworm.de> | 2024-03-16 23:10:47 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-03-16 23:10:47 +0100 |
commit | eb7919c1d8b4ad5c77e0d120136c4f54e1e157e6 (patch) | |
tree | 074d9babad2d09ad05399b2a3a2d1d9b84f6b0f7 /check-certificates.rsc | |
parent | 576a2c97cf88b7d1b36907469fb6fd34618523b3 (diff) |
global-functions: generate user agent string in function...
... and add the caller and my shortened url.
Diffstat (limited to 'check-certificates.rsc')
-rw-r--r-- | check-certificates.rsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check-certificates.rsc b/check-certificates.rsc index 7504955..9aa24fd 100644 --- a/check-certificates.rsc +++ b/check-certificates.rsc @@ -48,7 +48,7 @@ :foreach Type in={ ".pem"; ".p12" } do={ :local CertFileName ([ $UrlEncode $Name ] . $Type); :do { - /tool/fetch check-certificate=yes-without-crl http-header-field=({ $FetchUserAgent }) \ + /tool/fetch check-certificate=yes-without-crl http-header-field=({ [ $FetchUserAgent $0 ] }) \ ($CertRenewUrl . $CertFileName) dst-path=$CertFileName as-value; $WaitForFile $CertFileName; |