From 2bb575cd9774cf9d8f8c17332c647a10a784b748 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Fri, 8 Aug 2025 18:04:32 +0900 Subject: [PATCH] chore: update return codes --- helpers/funcs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helpers/funcs b/helpers/funcs index f9d0686..689cec8 100755 --- a/helpers/funcs +++ b/helpers/funcs @@ -1128,14 +1128,14 @@ update_config_val(){ key="steam_api" if [[ ${#value} -lt 32 ]] || [[ $(test_steam_api "$value") -eq 1 ]]; then printf "Invalid API key" - return 2 + return 78 fi ;; "Change Battlemetrics API key") key="api_key" if [[ $(test_bm_api "$value") -eq 1 ]]; then printf "Invalid API key" - return 2 + return 79 fi ;; esac @@ -1143,7 +1143,7 @@ update_config_val(){ nr="$value" update_config echo "Updated the key '$key' to '$value'" - return 90 + return 80 } show_log(){ < "$debug_log" sed 's/Keyword␞/Keyword/'