From 5dd5e287d0b252bc15a395e1a141639cad9b2f33 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Tue, 14 Nov 2023 00:04:25 +0300 Subject: [PATCH] disable shellcheck error --- menu.+.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/menu.+.sh b/menu.+.sh index a78842c..11b1be9 100755 --- a/menu.+.sh +++ b/menu.+.sh @@ -39,6 +39,7 @@ if [ "$1" == "testsystem" ]; then if [ "$2" == "update" ]; then NEW_CREDENTIALS=$(zenity --forms --title="Обновление доступов тестовой системы" --text="Введите доступы к тестовой системе" --add-entry="API URL" --add-entry="API-ключ") if [ $? == 0 ]; then + # shellcheck disable=SC2046 echo "$NEW_CREDENTIALS|$(curl -fsSL $(echo "$NEW_CREDENTIALS" | cut -d'|' -f1 | tr -d '\n')/api/system-info | jq -j '.technicalUrl')" > "$TEST_SYSTEM_CREDENTIALS_FILE" notify-send -h int:transient:1 -u normal -t 1000 -i dialog-password "Данные тестовой системы обновлены" fi