In a bash script for disconn handling a resp code 204 was replaced by 200.
This commit is contained in:
parent
8677af243c
commit
855397ad0c
@ -5,6 +5,6 @@ radiodj_listener_url=http:/listener
|
||||
|
||||
response=$(curl -XDELETE --unix-socket $radiodj_socket $radiodj_listener_url -o /dev/null -s -w "%{response_code}")
|
||||
|
||||
if [ "$response" -ne "204" ]; then
|
||||
if [ "$response" -ne "200" ]; then
|
||||
exit 1;
|
||||
fi
|
Loading…
Reference in New Issue
Block a user