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