diff options
author | Christian Hesse <mail@eworm.de> | 2024-01-08 00:25:55 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-01-08 00:29:18 +0100 |
commit | 4249ad61df4c596097da1e808e4e8e4bb8a25cf9 (patch) | |
tree | af9ad844f9e3f7992504337bd0310c162458f714 | |
parent | 8c458592f51fcf065b903226f7a407f9a92ebb83 (diff) |
global-functions: $CertificateDownload: move delay up
We still had cases where fetch misbehaves... But this was permanent.
Perhaps we should not touch the certificate too early...
-rw-r--r-- | global-functions.rsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/global-functions.rsc b/global-functions.rsc index d124ac1..8dd1f07 100644 --- a/global-functions.rsc +++ b/global-functions.rsc @@ -149,6 +149,7 @@ dst-path=$LocalFileName as-value; $WaitForFile $LocalFileName; /certificate/import file-name=$LocalFileName passphrase="" as-value; + :delay 1s; /file/remove $LocalFileName; :foreach Cert in=[ /certificate/find where name~("^" . $LocalFileName . "_[0-9]+\$") ] do={ @@ -159,7 +160,6 @@ "CommonName \"" . $CommonName . "\"!") false; :return false; } - :delay 1s; :return true; } |