]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
Autocommit in repo: ros.vados.ru, generated by owner: root, in 19:55:02 03.05.2026.
authorvados-dev <192440777+vados-dev@users.noreply.github.com>
Sun, 3 May 2026 16:55:03 +0000 (19:55 +0300)
committervados-dev <192440777+vados-dev@users.noreply.github.com>
Sun, 3 May 2026 16:55:03 +0000 (19:55 +0300)
html/AM-GlobalFunc.rsc
html/certs/Makefile

index 6f7f4cd920bce5778a30e6f2dd648ab48fbe99af..8a85d1f19aad378db8e47eec92b440425aba153d 100644 (file)
@@ -17,9 +17,9 @@
 :global GlobalFuncReady false;
 
 # Git commit id & info, expected configuration version
-:global CommitId "main/440/b18a276b";
+:global CommitId "main/441/ebdedff2";
 :global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 19:50:02 03.05.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 19:55:02 03.05.2026.";
 
 # The variables are received right here.
 :global GlobalConfVersion 138;
index 5b929db277e583186909c73e04c73fff053bdf0b..b5ad692ddf0761c43c7aeabc3f18084e7beda3af 100644 (file)
@@ -53,8 +53,7 @@ ip_flags = $(if $(filter ipv4,$(1)),-4,$(if $(filter ipv6,$(1)),-6,))
 
 check-list:
        @test -n "$(LIST)" || { echo "LIST is required" >&2; exit 2; }
-       @status=0; \
-       if [ -d "$(LIST)" ]; then inputs=("$(LIST)"/*); else inputs=("$(LIST)"); fi; \
+       @if [ -d "$(LIST)" ]; then inputs=("$(LIST)"/*); else inputs=("$(LIST)"); fi; \
        for list in "$${inputs[@]}"; do \
                [ -f "$$list" ] || continue; \
                while IFS= read -r item || [ -n "$$item" ]; do \
@@ -64,7 +63,7 @@ check-list:
                        url="$${item%/*}/"; \
                        [[ "$$url" =~ ^https?:// ]] || url="https://$$url"; \
                        printf 'Checking %s with %s.pem\n' "$$url" "$$cert"; \
-                       $(CURL) $(IP_FLAGS) --cacert "$(BUILD_DIR)/$$cert.pem" "$$url" || status=1; \
+                       $(CURL) $(IP_FLAGS) --cacert "$(BUILD_DIR)/$$cert.pem" "$$url" || \
+                               echo "WARN: check failed for $$url with $$cert.pem" >&2; \
                done < "$$list"; \
-       done; \
-       exit $$status
+       done