Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
supervisor: 'foo:*' also matches 'foo'.
Alex Vandiver65e19c4fbd9d
diff --git a/scripts/lib/supervisor.py b/scripts/lib/supervisor.pyindex a5fde0f8d04..a3cf445f663 100644--- a/scripts/lib/supervisor.py+++ b/scripts/lib/supervisor.py@@ -42,7 +42,10 @@ def list_supervisor_processes(if filter_names:match = Falsefor filter_name in filter_names:- if filter_name.endswith(":*") and name.startswith(filter_name[:-1]):+ # zulip-tornado:* matches zulip-tornado:9800 and zulip-tornado+ if filter_name.endswith(":*") and (+ name.startswith(filter_name[:-1]) or name == filter_name[:-2]+ ):match = Truebreakif name == filter_name: