From 855397ad0ca3da6a015645eef927b1268e158689 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 1 Oct 2023 00:02:04 +0400 Subject: [PATCH] In a bash script for disconn handling a resp code 204 was replaced by 200. --- tools/radiodj-listener-disconnect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/radiodj-listener-disconnect b/tools/radiodj-listener-disconnect index c642914..95cb6a0 100644 --- a/tools/radiodj-listener-disconnect +++ b/tools/radiodj-listener-disconnect @@ -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 \ No newline at end of file