mirror of
https://github.com/aclist/dztui.git
synced 2026-08-25 17:32:36 +02:00
Rename icon file
This commit is contained in:
parent
231aa993f8
commit
c04adc15fd
1
dzgui.sh
1
dzgui.sh
@ -111,7 +111,6 @@ query_api(){
|
|||||||
code=$(jq -r '.errors[] .status' <<< $response)
|
code=$(jq -r '.errors[] .status' <<< $response)
|
||||||
#TODO: fix granular api codes
|
#TODO: fix granular api codes
|
||||||
if [[ $code -eq 401 ]]; then
|
if [[ $code -eq 401 ]]; then
|
||||||
echo "$code" >> outfile
|
|
||||||
warn_and_exit "Error $code: malformed API key"
|
warn_and_exit "Error $code: malformed API key"
|
||||||
elif [[ $code -eq 500 ]]; then
|
elif [[ $code -eq 500 ]]; then
|
||||||
warn_and_exit "Error $code: malformed server list"
|
warn_and_exit "Error $code: malformed server list"
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 497 KiB After Width: | Height: | Size: 497 KiB |
Loading…
Reference in New Issue
Block a user