From e4ac9d6b32d08a6eddde214fe9dd0f0cee2dd109 Mon Sep 17 00:00:00 2001 From: fbt Date: Sat, 28 Nov 2026 03:14:13 +0000 Subject: [PATCH] some more cleanup Signed-off-by: fbt --- ufw | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ufw b/ufw index 971a810..6a09e45 100755 --- a/ufw +++ b/ufw @@ -329,10 +329,7 @@ get_token() { chmod 600 "$cfg_file.cookiejar" - get_api_status <<< "$login_response" || { - jq -r '.status.message' <<< "$login_response" - return 1 - } + get_api_status <<< "$login_response" || return 1 api_response=$(curl -b "$cfg_file.cookiejar" -sl "$cfg_service_url/api_token.json") (( $? )) && {