diff options
Diffstat (limited to 'script-updates')
-rw-r--r-- | script-updates | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/script-updates b/script-updates index fca3f0f..1f71278 100644 --- a/script-updates +++ b/script-updates @@ -26,10 +26,14 @@ :if ($ignore = 0) do={ :log debug ("Fetching script from url: " . $scriptname); - / tool fetch check-certificate=yes-without-crl \ - dst-path=("script-updates/" . $scriptname) \ - ($"script-updates-baseurl" . $scriptname); - :set scriptfile [ / file find where name=("script-updates/" . $scriptname) ]; + :do { + / tool fetch check-certificate=yes-without-crl \ + dst-path=("script-updates/" . $scriptname) \ + ($"script-updates-baseurl" . $scriptname); + :set scriptfile [ / file find where name=("script-updates/" . $scriptname) ]; + } on-error={ + :log debug ("Failed fetching " . $scriptname); + } } } |