diff --git a/core/subscription.c b/core/subscription.c index ad7f1788..3cf9926c 100644 --- a/core/subscription.c +++ b/core/subscription.c @@ -767,7 +767,7 @@ void uwsgi_subscribe2(char *arg, uint8_t cmd) { return; } - if (!s2_server && !s2_key) goto end; + if (!s2_server || !s2_key) goto end; if (s2_check) { if (uwsgi_file_exists(s2_check)) goto end;