From 356f9ddb91d8bb198ca79725833576454cf94c83 Mon Sep 17 00:00:00 2001 From: Alexander Tomokhov Date: Fri, 18 Apr 2025 01:26:41 +0400 Subject: [PATCH] fix forgejo,auth: curl waiting failure condition --- sp-modules/gitea/module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sp-modules/gitea/module.nix b/sp-modules/gitea/module.nix index 82479d4..969ba47 100644 --- a/sp-modules/gitea/module.nix +++ b/sp-modules/gitea/module.nix @@ -313,7 +313,7 @@ in fi sleep ${toString delaySec} done - if [[ "$i" > "${toString maxRetries}" ]] + if [[ "$i" -gt "${toString maxRetries}" ]] then echo "error, max attempts to access "${url}" have been used unsuccessfully!" exit 124